Skip to content

Instantly share code, notes, and snippets.

@jervisliu
Last active August 29, 2015 14:01
Show Gist options
  • Save jervisliu/3abe45359554b10f3d83 to your computer and use it in GitHub Desktop.
Save jervisliu/3abe45359554b10f3d83 to your computer and use it in GitHub Desktop.
ansible not workable
ssh_settings:
Port: "22"
Protocol: "2"
UsePrivilegeSeparation: "yes"
KeyRegenerationInterval: "3600"
ServerKeyBits: "768"
SyslogFacility: "AUTH"
LogLevel: "INFO"
LoginGraceTime: "120"
PermitRootLogin: "yes"
StrictModes: "yes"
RSAAuthentication: "yes"
PubkeyAuthentication: "yes"
IgnoreRhosts: "yes"
RhostsRSAAuthentication: "no"
HostbasedAuthentication: "no"
PermitEmptyPasswords: "no"
ChallengeResponseAuthentication: "no"
PasswordAuthentication: "no"
X11Forwarding: "yes"
X11DisplayOffset: "10"
PrintMotd: "no"
PrintLastLog: "yes"
TCPKeepAlive: "yes"
AcceptEnv: "LANG LC_*"
Subsystem: "sftp /usr/lib/openssh/sftp-server"
UsePAM: "yes"
UseDNS: "no"
ClientAliveInterval: "1750"
ClientAliveCountMax: "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment