summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'ssh')
-rw-r--r--ssh/chromeos-config2
-rw-r--r--ssh/config2
-rw-r--r--ssh/sshd_config12
3 files changed, 7 insertions, 9 deletions
diff --git a/ssh/chromeos-config b/ssh/chromeos-config
index b120a4e..8280f65 100644
--- a/ssh/chromeos-config
+++ b/ssh/chromeos-config
@@ -10,7 +10,6 @@ AddKeysToAgent yes
Host b7j0c
HostName b7j0c.org
User brad
- Port 512
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
SetEnv TERM=xterm-256color
@@ -18,7 +17,6 @@ Host b7j0c
Host b7j0c-git
HostName b7j0c.org
User git
- Port 512
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
diff --git a/ssh/config b/ssh/config
index 8f44024..5e3fbf6 100644
--- a/ssh/config
+++ b/ssh/config
@@ -10,7 +10,6 @@ AddKeysToAgent yes
Host b7j0c
HostName b7j0c.org
User brad
- Port 512
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
SetEnv TERM=xterm-256color
@@ -18,7 +17,6 @@ Host b7j0c
Host b7j0c-git
HostName b7j0c.org
User git
- Port 512
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
diff --git a/ssh/sshd_config b/ssh/sshd_config
index b054ffb..80f3127 100644
--- a/ssh/sshd_config
+++ b/ssh/sshd_config
@@ -1,10 +1,12 @@
-Port 512
-ListenAddress 0.0.0.0
+Include /etc/ssh/sshd_config.d/*.conf
+KbdInteractiveAuthentication no
+UsePAM yes
+X11Forwarding no
+PrintMotd no
+AcceptEnv LANG LC_*
+Subsystem sftp /usr/lib/openssh/sftp-server
PasswordAuthentication no
-ChallengeResponseAuthentication no
PermitRootLogin no
PermitEmptyPasswords no
PubkeyAuthentication yes
-UsePAM yes
-Subsystem sftp /usr/lib/ssh/sftp-server
AllowUsers brad git