Answers for "disable password authentication ssh ubuntu"

1

disable ssh password login

$ sudo vi /etc/ssh/sshd_config


ChallengeResponseAuthentication no
PasswordAuthentication no
Posted by: Guest on May-11-2021
2

ssh pc without password ubuntu

# run on local pc 
sudo apt-get update
sudo apt-get -y install openssh-server

sudo systemctl start ssh

ssh-keygen -t rsa

ssh-copy-id your_username@your_server-IP
Posted by: Guest on April-30-2021

Code answers related to "disable password authentication ssh ubuntu"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language