Answers for "how to allow password ssh"

1

disable ssh password login

$ sudo vi /etc/ssh/sshd_config


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

ssh allow password login subnet

# Global settings
…
PasswordAuthentication no
…

# Settings that override the global settings for matching IP addresses only
Match address 192.0.2.0/24
    PasswordAuthentication yes
Posted by: Guest on February-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language