2008/6/20

ssh login no password

  • modify the /etc/ssh/sshd_conf
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
  • ssh-keygen -t rsa
  • cd $home/.ssh
  • cp  /.ssh/identity.pub  /.ssh/authorized_keys
  • restart sshd
  • ssh-agent $SHELL
    ssh-add