User Tools

Site Tools


operating_systems:raspbian:minimal_configuration

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
operating_systems:raspbian:minimal_configuration [2019/06/12 06:36] maferreiraoperating_systems:raspbian:minimal_configuration [2019/07/08 15:14] – [sshd_config file] maferreira
Line 27: Line 27:
 ====sshd_config file==== ====sshd_config file====
   # vi /etc/ssh/sshd_config   # vi /etc/ssh/sshd_config
-   + 
-  #ListenAddress 0.0.0.0 -ListenAddress 127.0.0.1 +From 
-  #PermitRootLogin prohibit-password -> PermitRootLogin no + 
-  #PubkeyAuthentication yes -> PubkeyAuthentication yes +  #ListenAddress 0.0.0.0 
-  #PasswordAuthentication yes -> PasswordAuthentication no+  #PermitRootLogin prohibit-password 
 +  #PubkeyAuthentication yes 
 +  #PasswordAuthentication yes 
 + 
 +To 
 + 
 +  ListenAddress 127.0.0.1 
 +  PermitRootLogin no 
 +  PubkeyAuthentication yes 
 +  PasswordAuthentication no
 ====Allow connection from the server==== ====Allow connection from the server====
 Create the **/home/acdsn/.ssh/authorized_keys** file and add the **server public key**. Create the **/home/acdsn/.ssh/authorized_keys** file and add the **server public key**.