Explicit SSH-2 only and print last login time
This commit is contained in:
parent
0fa6816a2c
commit
38830880d6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user