Thursday, 7 October 2010


I normally have my ~/.ssh/config so that it only uses my key or gssapi to login to other sites, however this poses a problem when reinstalling a server and don't yet have my key on it

ssh -F /dev/null [email protected]
works, but this wasn't working with ssh-copy-id.

Turns out that the ssh-copy-id script is braindead and only expects one or two (with the 1st beginning with -i) arguments.

lo and behold, some single quotes did the trick:

[email protected]:~$ ssh-copy-id '-F /dev/null [email protected]'
Are you sure you want to continue connecting (yes/no)? yes
[email protected]'s password:
Now try logging into the machine, with "ssh '-F /dev/null [email protected]'", and check in: ....


No comments:

Thoughts on integrations

  $dayjob uses for our public status page . Although I've got some things automated, there's still a bunch of compon...