3 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id
1. ssh-keygen -t rsa ## will generate id_rsa and id_rsa in ~/.ssh folder 2. ssh-copy-id -i ~/.ssh/id_rsa.pub remote_server ## copy the public key to the remote server 3. ssh remote_server ## check if it runs correctly
没有评论:
发表评论