Add current user to allowed ssh users

This commit is contained in:
VirtuBox
2019-09-23 13:46:31 +02:00
parent e3d65ad458
commit 2a41abbce7
2 changed files with 7 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ HostKey /etc/ssh/ssh_host_ed25519_key
PermitRootLogin without-password
# Allow ssh access to some users only
AllowUsers root ubuntu debian
AllowUsers root ubuntu debian {{user}}
# allow ssh key Authentication
PubkeyAuthentication yes