Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Gents, Experiencing the following with Debian 6.0.2, which probably is the same for other openssh based installs.

I would like to have both types (sshkeys and password-based) of authentication be available.

Right now... if you have authorized_keys setup for account A, then folks are able to use ssh keys to connect, and if they dont, the method falls back to password authentication. Which is correct. However, if one tries to sftp A@host.com, then the session opens and quickly terminates.

Hope I explained this well :)

Thanks!

share|improve this question
    
That should just work, sounds like something ia broke. –  Zoredache Jan 25 '12 at 17:02
    
Some sftp clients require password authentication. Which one are you using? –  malcolmpdx Jan 25 '12 at 17:16
    
linux sftp... :) –  CMag Jan 25 '12 at 17:38
    
sshd_config: pastie.org/3251117 –  CMag Jan 25 '12 at 17:40
    
You do know that that is an actual program, right ? In your case, you mean the sftp subsystem executable provided by your openssh version. –  adaptr Jan 25 '12 at 17:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.