[svlug] SSH password question

Seth David Schoen schoen at uclink4.berkeley.edu
Sun Nov 8 20:03:14 PST 1998


> Hello all,
> 
> I saw this post and decided to check it out. I really only want people to
> be able to access my machine not only if they have a password but require
> them to have the private key.
> 
> I edited my sshd2 config file in /etc/sshd2_config to make
> PasswordAuthentication no. After it didn't work and still only asked me
> for a password, I consulted the manual pages. It said that
> PasswordAuthentication (the flag) was not yet implemented in ssh 2.x. So i
> downloaded 1.2.26 and then tried. The result was exactly the same! Herer
> is what happens:

> [aaronl at vitelus aaronl]$ ssh vitelus.com
> aaronl's password:
> 
> After i enter my password (for the user, not the key) it logs me in like
> a telnet session.

I don't know what you're doing wrong -- I just tried it and it worked fine.

However:

- did you remember to kill and restart sshd after you modified that config
file?
- are you sure you're running sshd1 and not sshd2?  If you previously
installed sshd2, "sshd" may still be "sshd2", not "sshd1".

If you kill your sshd -- whichever's running -- then make that change and
then explicitly start sshd1, it should work properly, or so I'd hope.

-- 
   Seth David Schoen L&S '01 (undeclared) / schoen at uclink4.berkeley.edu
He said, "This is what the king who will reign over you will do."  And they
said, "Nay, but we will have a king over us, that we also may be like all the
nations." (1 Sam 8)  http://ishmael.geecs.org/~sigma/   http://www.loyalty.org/

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe



More information about the svlug mailing list