[Bug 835901] [NEW] ssh-copy-id: fails to sanitize arguments

2011-08-28 Thread gpk
Public bug reported: When I run ssh-copy-id with the incorrect flag, I get this failure: $ sudo bash # ssh-copy-id -t /root/.ssh/id_rsa.pub zzz...@koch.phon.ox.ac.uk Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: Could not resolve hostname umask 077; test -d ~/.ssh

[Bug 835901] [NEW] ssh-copy-id: fails to sanitize arguments

2011-08-28 Thread gpk
Public bug reported: When I run ssh-copy-id with the incorrect flag, I get this failure: $ sudo bash # ssh-copy-id -t /root/.ssh/id_rsa.pub zzz...@koch.phon.ox.ac.uk Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: Could not resolve hostname umask 077; test -d ~/.ssh