Re: can't turn off ssh password access on my new solaris box



On 2006-04-22, Richard E. Silverman <res@xxxxxxxx> wrote:
i've spent about 4 hours now googling around, trying to figure out why
solaris 8 install of ssh and my solaris 10 install behave differently.
the problem i'm having is that i cannot turn off password access to my
solaris 10 machine.
[...]
[host1:~] steve% ssh host2
Enter passphrase for key '/Users/steve/.ssh/id_rsa': <CR>
Password:
[...]
Possibly it is not using the SSH "password" authentication method, but
rather "keyboard-interactive", whose behavior is usually configured via
PAM, and by defalt usually just prompts for a password.

That is certainly what it looks like.

Try this in sshd_config:

KbdInteractiveAuthentication no

That will turn off keyboard-interactive in Protocol 2 but you probably
want to also set "ChallengeResponseAuthentication no" turn off the
equivalent authentication (PAM via TIS challenge-response) for Protocol 1.

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



Relevant Pages

  • cant turn off ssh password access on my new solaris box
    ... solaris 8 install of ssh and my solaris 10 install behave differently. ... the problem i'm having is that i cannot turn off password access to my ... steve% ssh host3 ...
    (comp.security.ssh)
  • Re: 4.3p1 and idled
    ... idled stills notices that your session has been left alone ... This is on a Solaris 8 system. ... portability changelog that references tty behavior, but then again I may be ... Good judgement comes with experience. ...
    (SSH)
  • Re: disabled account accepting publickey authentication
    ... >I don't think this is necessarily the right interpretation. ... The RedHat ... On Solaris, that depends on where you look. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: statically-linked executables
    ... not a supported ABI on Solaris and is pretty much guaranteed to break at ... just need to make sure that the linker finds static libraries first. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: password-less logins on solaris 2.5.1 boxen - subtle troubles
    ... > Trying to set up password-less keypair logins between solaris 2.5.1 ... > boxes. ... I can get them to work with some usernames, ... Good judgement comes with experience. ...
    (SSH)