Bug+bugfix in ssh-copy-id

Benjamin Kellermann Benjamin.Kellermann at gmx.de
Thu Mar 13 06:23:47 EST 2008


Hi!

the script ssh-copy-id assumes, that the remote machine has a POSIX
Compatible shell as login shell.
So you have to write in line 41:
… ssh $1 'sh -c "umask 077; test …
instead of
… ssh $1 "umask 077; test …

Patch is appended.

Greetings,
Benjamin Kellermann

-- 
GPG-Key-ID:  491A3D9C
Fingerprint: D19E 04A8 8895 020A 8DF6  0092 3501 1A32 491A 3D9C
http://pgpkeys.pca.dfn.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh-copy-id.patch
Type: text/x-patch
Size: 246 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20080312/89d15ed4/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20080312/89d15ed4/attachment-0001.bin 


More information about the openssh-unix-dev mailing list