1 |
> > What about "PasswordAuthentication no"? |
2 |
> |
3 |
> Can that be set for a single user? I have a normal user who needs to |
4 |
> log in via SSH with a password and a backup user who only needs to run |
5 |
> rsync via SSH keys. If not, does the exclamation point in /etc/shadow |
6 |
> prevent the user from logging in without the SSH key? |
7 |
> |
8 |
> - Grant |
9 |
> |
10 |
> |
11 |
|
12 |
# tail -n 5 /etc/ssh/sshd_config |
13 |
# Example of overriding settings on a per-user basis |
14 |
#Match User anoncvs |
15 |
# X11Forwarding no |
16 |
# AllowTcpForwarding no |
17 |
# ForceCommand cvs server |
18 |
|
19 |
Also google scponly |