Skip to content

Instantly share code, notes, and snippets.

@garbas
Created August 5, 2014 11:33
Show Gist options
  • Save garbas/39555ba538bbbfebe5ab to your computer and use it in GitHub Desktop.
Save garbas/39555ba538bbbfebe5ab to your computer and use it in GitHub Desktop.
[root@khaleesi:~]# cat /nix/store/f71036v9424ymdydc8varjv4j3sbh5qf-sshd_config
PidFile /run/sshd.pid
Protocol 2
UsePAM yes
AddressFamily any
Port 22
X11Forwarding no
Subsystem sftp /nix/store/m0djg80r898g6yl08q32bwlkh7hjrqpa-openssh-6.6p1/libexec/sftp-server
PermitRootLogin without-password
GatewayPorts no
PasswordAuthentication no
ChallengeResponseAuthentication yes
PrintMotd no # handled by pam_motd
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/authorized_keys.d/%u
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment