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

View File

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