Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. GNU nano 3.2 /etc/ssh/sshd_config
  30. # $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $
  31.  
  32. # This is the sshd server system-wide configuration file. See
  33. # sshd_config(5) for more information.
  34.  
  35. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
  36.  
  37. # The strategy used for options in the default sshd_config shipped with
  38. # OpenSSH is to specify options with their default value where
  39. # possible, but leave them commented. Uncommented options override the
  40. # default value.
  41.  
  42. #Port 22
  43. #AddressFamily any
  44. #ListenAddress 0.0.0.0
  45. #ListenAddress ::
  46.  
  47. #HostKey /etc/ssh/ssh_host_rsa_key
  48. #HostKey /etc/ssh/ssh_host_ecdsa_key
  49. #HostKey /etc/ssh/ssh_host_ed25519_key
  50.  
  51. # Ciphers and keying
  52. #RekeyLimit default none
  53.  
  54. # Logging
  55. #SyslogFacility AUTH
  56. #LogLevel INFO
  57.  
  58. # Authentication:
  59.  
  60. #LoginGraceTime 2m
  61. PermitRootLogin yes
  62. #StrictModes yes
  63. #MaxAuthTries 6
  64. #MaxSessions 10
  65.  
  66. #PubkeyAuthentication yes
  67.  
  68. # Expect .ssh/authorized_keys2 to be disregarded by default in future.
  69. #AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
  70.  
  71. #AuthorizedPrincipalsFile none
  72.  
  73. #AuthorizedKeysCommand none
  74. #AuthorizedKeysCommandUser nobody
  75.  
  76. # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
  77. #HostbasedAuthentication no
  78. # Change to yes if you don't trust ~/.ssh/known_hosts for
  79. # HostbasedAuthentication
  80. #IgnoreUserKnownHosts no
  81. # Don't read the user's ~/.rhosts and ~/.shosts files
  82. #IgnoreRhosts yes
  83.  
  84. # To disable tunneled clear text passwords, change to no here!
  85. #PasswordAuthentication yes
  86. #PermitEmptyPasswords no
  87.  
  88. # Change to yes to enable challenge-response passwords (beware issues with
  89. # some PAM modules and threads)
  90. [ Read 122 lines ]
  91. ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos
  92. ^X Exit^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement