2009年6月14日 星期日

One Way Trusted SSH Authorized Key

1. make public key:/.ssh]#ssh-keygen -d
2. Enter file in which to save the key (/root/.ssh/id_dsa): (just enter)
3. Enter passphrase (empty for no passphrase): (just enter)
4. Enter same passphrase again: (just enter)
5. Your identification has been saved in /root/.ssh/id_dsa.
6. Your public key has been saved in /root/.ssh/id_dsa.pub.
7. Use Scp id_dsa.pub to target remote host /.ssh/authorized_keys2

ok!

沒有留言: