Monday, December 27, 2010

SSH 免密碼登錄備忘

$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ chmod 600 ~/.ssh/authorized_keys
這個步驟經常忘記
$ ssh localhost