When running ssh-copy-id, it executes REMOTE_VERSION=$(ssh -v -o PreferredAuthentications=',' "$@" 2>&1 | sed -ne 's/.*remote software version //p') Now this hangs for me, as it produces an endless loop like # ssh -v -o PreferredAuthentications=',' root@machine OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). ... etcetera until I interrupt it with CTRL-C.
what ssh implementation is "machine" running? ie what does ssh -v -o PreferredAuthentications=',' machine 2>&1 | grep "remote software version" give?
(In reply to Darren Tucker from comment #1) > what ssh implementation is "machine" running? ie what does > > ssh -v -o PreferredAuthentications=',' machine 2>&1 | grep "remote > software version" > > give? Ok, this was a PEBKAC. Sorry for the noise. "ssh" on this system is really an alias to a wrapper script that was not prepared to manage that.
Close all resolved bugs after 7.3p1 release