Displaying 1 result from an estimated 1 matches for "a824382".
2011 Dec 20
3
ssh-copy-id -p port option
...-p port to connect to
non-standard port.
The patch [1] adds this option to ssh-copy-id and documents it in ssh-copy-id(1) man page
[1] http://plautrba.fedorapeople.org/openssh/718674/ssh-copy-id-p-port.patch
Thanks,
Petr
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index 9451ace..a824382 100644
--- a/contrib/ssh-copy-id
+++ b/contrib/ssh-copy-id
@@ -6,22 +6,49 @@
# or one of the other keys in your ssh-agent, for this to work.
ID_FILE="${HOME}/.ssh/id_rsa.pub"
+COMMAND="ssh"
-if [ "-i" = "$1" ]; then
- shift
- # check if we have 2 para...