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

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

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.