ssh-bridge 1.0.4: Alpine openssh has no PAM (UsePAM invalid); unlock bridge in shadow + give it ash shell for interactive jumps
This commit is contained in:
1 parent
b33b52e7a9
commit
83be6c6309
4 files changed
+10
-7
No files matched your search
@@ -5,9 +5,9 @@ ListenAddress 0.0.0.0
|
||||
HostKey /data/ssh/ssh_host_ed25519_key
|
||||
|
||||
# Hard limits
|
||||
UsePAM no
|
||||
# (Alpine's PAM rejects passwordless accounts as "locked" before key auth is
|
||||
# tried; this container has no PAM-dependent needs — key-only by design.)
|
||||
# (No UsePAM here: Alpine's OpenSSH is built without PAM and rejects the
|
||||
# option. The "account is locked" check is OpenSSH's own; the bridge account
|
||||
# is unlocked in the Dockerfile instead.)
|
||||
PermitRootLogin no
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
|
||||
Reference in new issue
Block a user