beautifulcode / ssh-copy-id-for-OSX

Quick Mac OSX port of the useful unix utility ssh-copy-id
887 stars 108 forks source link

ssh-copy-id.sh: empty ssh-agent on Snow Leopard #3

Closed barrbrain closed 11 years ago

barrbrain commented 11 years ago

On Snow Leopard, ssh-add -L outputs a warning to stdout when the agent has no identities. Compensate for this by removing the warning from the output with grep.