summaryrefslogtreecommitdiff
path: root/pcr/openssh-knock/sshd.pam
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openssh-knock/sshd.pam')
-rw-r--r--pcr/openssh-knock/sshd.pam6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/openssh-knock/sshd.pam b/pcr/openssh-knock/sshd.pam
new file mode 100644
index 000000000..7ecef084d
--- /dev/null
+++ b/pcr/openssh-knock/sshd.pam
@@ -0,0 +1,6 @@
+#%PAM-1.0
+#auth required pam_securetty.so #disable remote root
+auth include system-remote-login
+account include system-remote-login
+password include system-remote-login
+session include system-remote-login