2010年5月25日 星期二

ssh-keygen

SSH1: RSA1
SSH2: RSA2, DSA

  1. Generate key
    ssh-keygen -t dsa
    ssh-keygen -t rsa1
    ssh-keygen -t rsa2 (unknown key type on Ubuntu 8.04)
  2. Upload to server
    scp ~/.ssh/*.pub <server>:~/.ssh/
  3. Import the public key to authorized_keys on Server
    cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys



ssh keygen 免輸入密碼
http://plog.longwin.com.tw/post/1/293

SSH 免密碼登入
http://josephjiang.com/article/understand-ssh-key/

[Linux] SSH Key 更換作業...
http://antontw.blogspot.com/2008/05/linux-ssh-key.html

沒有留言: