| View previous topic :: View next topic |
| Author |
Message |
Emrys
Joined: Sat Feb 11, 2012 7:48 pm Posts: 2
|
Posted: Sat Feb 11, 2012 7:54 pm Post subject: SSH-Copy-ID |
|
|
| is there a way to tell the ssh-copy-id script that you use another port? |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8036 Location: Warrington, UK
|
Posted: Sat Feb 11, 2012 8:17 pm Post subject: |
|
|
It doesn't look like it, but it is easy enough to do this without the script
| Code: | | cat public-key-file | ssh -p port-num user@host tee -a .ssh/authorized_keys |
_________________ "Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein) |
|
| Back to top |
|
 |
Emrys
Joined: Sat Feb 11, 2012 7:48 pm Posts: 2
|
Posted: Sat Feb 11, 2012 8:33 pm Post subject: |
|
|
| Great, thanks for the prompt reply. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|