Mixing Public Key and Password authentication

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I am looking at installing SSH on a file server to provide SFTP and
shell access to the server.

I have noticed that several of the SFTP clients on the market, esp.
those incorporated into other programs (ie: Macromedia Dreamweaver,
Contribute, etc), do not provide to option of authenticating via Public Key.

Ideally, what I would like to do is only provide shell access to users
who authenticate via Public Key.  Password authentication only would
provide access to SFTP.

Is something like that possible with OpenSSH?  I've read through
documentation, but can't seem to find anything that covers that kind of



Re: Mixing Public Key and Password authentication

Quoted text here. Click to load it

Not without some modification; OpenSSH doesn't provide that level of

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline