Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on SSH Tricks. Parent comment
ssh user@host "mkdir .ssh && cat >> .ssh/authorized_keys" < ~/.ssh/id_rsa.pub
This works as well and is using nothing but the power of the unix shell and the concept of pipes.
ssh user@host "mkdir -p .ssh && cat >> .ssh/authorized_keys" < ~/.ssh/id_rsa.pub
This works as well and is using nothing but the power of the unix shell and the concept of pipes.