Generating key-pair for ssh
First: generate the keypair with:ghost eyck 9:51 ~ > ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/eyck/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/eyck/.ssh/id_dsa. Your public key has been saved in /home/eyck/.ssh/id_dsa.pub. The key fingerprint is: 57:4a:12:94:31:ad:52:b5:ab:56:6e:72:32:e4:8c:29 eyck@ghostAnd then transfer it to the destination server with:
cat ~/.ssh/id_dsa.pub | ssh ridik.inside 'cat - >> ~/.ssh/authorized_keys'
| Generating key-pair for ssh | | 2003.02.12-09:38.00
