SSH Access without password

Create public and private key:
ssh-keygen -b 1024 -t rsa -f .ssh/id_rsa

/${HOME}/.ssh/id_rsa.pub (Public Key)
/${HOME}/.ssh/id_rsa (Private Key)

Put public key in ${HOME}/.ssh/authorized_keys at target server.

Now you can access target server with password

Leave a Reply

Your email address will not be published. Required fields are marked *