[CentOS] SSH using Keys, no password and SFTP?

Ljubomir Ljubojevic office at plnet.rs
Sun May 8 19:29:09 UTC 2011


Jason wrote:
> So is it possible to require some users to use Password only and some to use Key only authentication?
> 
> -Jason
> 
I am not sure.

First auth ssh will try is key pair. if that does not work, it will ask 
for username and password. So if you leave password auth runnig and you 
use key pair, it will work. Take a look at ssh man page for the specifics.

Ljubomir



More information about the CentOS mailing list