Linux serverNETWORK ADMINISTRATIONS

CentOS 7 SSH key for no password Authentication

CentOS 7 SSH key for no password Authentication. From Windows client
Subscribe: https://bit.ly/3d8Mzrx
Commands:
1. ssh-keygen -t rsa
2. chmod 700 ~/.ssh
3. mv ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
4. chmod 600 ~/.ssh/authorized_keys
5. vim /etc/ssh/sshd_config
6. systemctl restart sshd

source

centos 7

Leave a Reply

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