User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:public:enable_ssh_access [2020/01/16 00:47]
lucenera [Hardening ssh]
en:public:enable_ssh_access [2020/01/16 00:48] (current)
lucenera [Hardening ssh]
Line 48: Line 48:
  
     # vi /​etc/​ssh/​sshd_config     # vi /​etc/​ssh/​sshd_config
 +    ​
     change the following strings:     change the following strings:
     '#​PasswordAuthentication yes' in '​PasswordAuthentication no'     '#​PasswordAuthentication yes' in '​PasswordAuthentication no'
     '#​ChallengeResponseAuthentication yes' in '​ChallengeResponseAuthentication no'     '#​ChallengeResponseAuthentication yes' in '​ChallengeResponseAuthentication no'
 +    ​
     (save the file and exit from vi)     (save the file and exit from vi)
 +    ​
     # service sshd restart     # service sshd restart