Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Protocol 2
  2.  
  3. UsePAM yes
  4.  
  5. UsePrivilegeSeparation sandbox
  6.  
  7. AddressFamily any
  8. Port 22
  9.  
  10.  
  11. ListenAddress 192.168.0.120
  12.  
  13.  
  14. XAuthLocation /nix/store/bbplrcxcmfl2aggs1wj756l7zhc3awy3-xauth-1.0.10/bin/xauth
  15.  
  16.  
  17. X11Forwarding no
  18.  
  19.  
  20. Subsystem sftp /nix/store/vmisgqfbqywgsw9php70bbx90czr398i-openssh-7.4p1/libexec/sftp-server
  21.  
  22.  
  23. PermitRootLogin prohibit-password
  24. GatewayPorts no
  25. PasswordAuthentication yes
  26. ChallengeResponseAuthentication yes
  27.  
  28. PrintMotd no # handled by pam_motd
  29.  
  30. AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/%u
  31.  
  32. HostKey /etc/ssh/ssh_host_rsa_key
  33. HostKey /etc/ssh/ssh_host_ed25519_key
  34.  
  35.  
  36. # Allow DSA client keys for now. (These were deprecated
  37. # in OpenSSH 7.0.)
  38. PubkeyAcceptedKeyTypes +ssh-dss
  39.  
  40. # Re-enable DSA host keys for now.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement