- Run the following command on the clientssh-keygen -t rsa -f $HOME/.ssh/id_rsa -P ''File id_dsa and id_dsa.pub will be created inside $HOME/.ssh
- Copy the id_dsa.pub to the server's .ssh directoryssh-copy-id -i ~/.ssh/id_rsa.pub user@server
- You can try ssh to the server from the client and no password will be neededssh user@server
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.