Explicit SSH-2 only and print last login time

This commit is contained in:
Asif Bacchus 2018-11-25 05:11:12 -07:00
parent 0fa6816a2c
commit 38830880d6
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ ListenAddress [your:private:ipv6:address:use:square:brackets]
TCPKeepAlive no
ClientAliveInterval 60
ClientAliveCountMax 30
Protocol 2
### Authentication settings
HostKey /etc/ssh/ed25519.key
@ -31,5 +32,6 @@ Banner /etc/ssh/banner
LogLevel VERBOSE
X11Forwarding yes
PrintMotd no
PrintLastLog yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server