News for hackers. Stuff that matters.
Re:SSH Tricks by cjp on Monday September 19, 2011 @10:04AM (#3013564)
Use mkdir -p to avoid failing if .ssh already exists.

    ssh user@host "mkdir -p .ssh && cat >> .ssh/authorized_keys" < ~/.ssh/id_rsa.pub

There are no comments on this comment yet.