> > What about "PasswordAuthentication no"? > > Can that be set for a single user? I have a normal user who needs to > log in via SSH with a password and a backup user who only needs to run > rsync via SSH keys. If not, does the exclamation point in /etc/shadow > prevent the user from logging in without the SSH key? > > - Grant > >
# tail -n 5 /etc/ssh/sshd_config # Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # ForceCommand cvs server Also google scponly