Skip to content

Instantly share code, notes, and snippets.

@zdtsw
Created September 13, 2017 13:33
Show Gist options
  • Select an option

  • Save zdtsw/38d4826d848d9a645fb8a89454a2ef81 to your computer and use it in GitHub Desktop.

Select an option

Save zdtsw/38d4826d848d9a645fb8a89454a2ef81 to your computer and use it in GitHub Desktop.
ssh and publickey
there are something need to check for your ssh if you try to use publickey but it does not work for you (still ask for password)
1. /etc/ssh/sshd_config on server should allow correct group :
> AllowGroups groupA groupB
2. on the target machine, ssh users folder should have right permission
700 .ssh/authorized_keys
700 .ssh/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment