Guest User

SSH config file

a guest
Aug 24th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. # Don't read the user's ~/.rhosts and ~/.shosts files
  2. IgnoreRhosts no
  3. # For this to work you will also need host keys in /etc/ssh_known_hosts
  4. RhostsRSAAuthentication yes
  5. # similar for protocol version 2
  6. HostbasedAuthentication no
  7. # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
  8. #IgnoreUserKnownHosts yes
  9.  
  10. # To enable empty passwords, change to yes (NOT RECOMMENDED)
  11. PermitEmptyPasswords no
  12.  
  13. # Change to yes to enable challenge-response passwords (beware issues with
  14. # some PAM modules and threads)
  15. ChallengeResponseAuthentication no
  16.  
  17. # Change to no to disable tunnelled clear text passwords
  18. PasswordAuthentication yes
  19.  
  20. # Kerberos options
  21. #KerberosAuthentication no
  22. #KerberosGetAFSToken no
  23. #KerberosOrLocalPasswd yes
  24. #KerberosTicketCleanup yes
  25.  
  26. # GSSAPI options
  27. #GSSAPIAuthentication no
  28. #GSSAPICleanupCredentials yes
  29.  
  30. AllowTcpForwarding yes
  31. X11Forwarding yes
  32. X11DisplayOffset 10
  33. PrintMotd no
  34. PrintLastLog yes
  35. TCPKeepAlive yes
  36. #UseLogin no
  37.  
  38. #MaxStartups 10:30:60
  39. Banner /etc/issue.net
  40.  
  41. # Allow client to pass locale environment variables
  42. AcceptEnv LANG LC_*
  43.  
  44. Subsystem sftp /usr/lib/openssh/sftp-server
  45.  
  46. # Set this to 'yes' to enable PAM authentication, account processing,
  47. # and session processing. If this is enabled, PAM authentication will
  48. # be allowed through the ChallengeResponseAuthentication and
  49. # PasswordAuthentication. Depending on your PAM configuration,
  50. # PAM authentication via ChallengeResponseAuthentication may bypass
  51. # the setting of "PermitRootLogin without-password".
  52. # If you just want the PAM account and session checks to run without
  53. # PAM authentication, then enable this but set PasswordAuthentication
  54. # and ChallengeResponseAuthentication to 'no'.
  55. UsePAM yes
  56.  
  57. ###--MINE--###
  58.  
  59. AllowUsers psycoguana
Advertisement
Add Comment
Please, Sign In to add comment