Did this on my (non-EC2) remote box, works!!
$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub | ssh -p 1022 [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
I used no passphrase and have ssh on port 1022 for a hint of security....
$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub | ssh -p 1022 [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
I used no passphrase and have ssh on port 1022 for a hint of security....
Comment