1597 Views

Security

Setting Up SSH Key Authentication

Enhance security by using SSH keys instead of passwords

SSH Key Authentication

Generate SSH Key:

ssh-keygen -t rsa -b 4096

Copy to Server:

ssh-copy-id root@your-server-ip

Disable password authentication in /etc/ssh/sshd_config.