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

Brandon Ooi brandono at gmail.com
Sun May 8 20:11:00 UTC 2011


On Sun, May 8, 2011 at 12:29 PM, Ljubomir Ljubojevic <office at plnet.rs>wrote:

> 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
>

Clients like filezilla can use SFTP keys held by ssh-agent. Filezilla on
windows can use the ssh-agent provided by putty. Try just putting no
password, the client may just work (with ssh-agent running)

Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110508/dc1486bb/attachment.html>


More information about the CentOS mailing list