CANNOT SSH to my computer
freebsd-questions at slightlystrange.org
Thu Nov 18 02:42:56 PST 2004
On Thu, Nov 18, 2004 at 12:30:05AM -0500, Ivan Georgiev wrote:
> I am running RELEASE-5-3 and tried to ssh to my machine (sshd is running). It
> asks me 3 times for my password and then quits. The output is shown below.
> However, if I try "ssh localhost" instead of the ip address (I am using a DSL
> connection) everyting is OK.
[--- snip ---]
> The message from sshd is:
> sshd: error: PAM: authentication error for XXXX from YYY.verizon.net
The default behaviour for sshd now is to not allow password authentication.
The Password: prompts you see are for the PAM keyboard-interactive
authentication method. To allow straight password authentication, change
this line in /etc/ssh/sshd_config:
Note the removal of `#'!
# /etc/rc.d/sshd restart
If you want to use public key authentication, then try your session
again but with two or even three `-v' flags to get more debugging
messages. This should give you more idea of what's going on.
PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041118/6369e3f2/attachment.bin
More information about the freebsd-questions