Re: sshd_config / failed authentication

2005-01-31 Thread Fabian Anklam
On Fri, 28 Jan 2005 16:53:05 +1300, Nigel Wohlers [EMAIL PROTECTED] wrote:
 Sorry, that's all the info I have on the subject, I recall a similar
 issue I encountered a while ago and that seemed to be the cause.  Was
 just my initial postulation.
 
 
 Fabian Anklam wrote:
  On Fri, 28 Jan 2005 16:31:24 +1300, Nigel Wohlers [EMAIL PROTECTED] wrote:
 
 What is the value of LoginGraceTime?
 
 SSH will try to do a reverse lookup on the IP connecting to it and if
 that times out before LoginGraceTime then your client (putty) will get
 booted and SSH will report the failure to syslog.
 
 
 Fabian Anklam wrote:
 
 Reverse DNS lookup timeout?
 
 N
 
 
 
 Authentication seems to be the problem, not connection, care to elaborate?
 
 Thanks,
 
 Fabian
 
 
  LoginGraceTime was left at default value (2 minutes iirc). Adding the
  Windows box to /etc/hosts doesn't resolve the problem.
 
  sshd writes
 
  sshd[procid]: fatal: Timeout before authentication for windows.box.ip
 
  to /var/log/messages
 
  Fabian
 

Hi Nigel, sorry for brushing your suggestion off so quickly. SSHD
trying a reverse DNS of the (private IP) ssh'ing machines name via my
ISP's DNS servers which were in resolv.conf thanks to the machine
being configured with DHCP once seemed to be the cause of the problem.

Again, thanks for your help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config / failed authentication

2005-01-28 Thread Dan Nelson
In the last episode (Jan 28), Fabian Anklam said:
 On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam [EMAIL PROTECTED] wrote:
  could someone be so kind to point out to me which settings in
  sshd_config have to be changed to allow login from an ssh client
  without getting authentication failed messages on the console and
  a timeout on the guest machine.
  
  My client, putty in this case display the login: dialog, but after
  entering the username hangs without ever displaying the password:
  dialog

Try killing the sshd daemon and running sshd -Ddd, which will print
out lots of information during authentication.

  My FreeBSD5.3 Release box ps -aux reveals:
  
  root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
  root755  0.0  0.8  4720 2920  ??  Is   12:29AM   0:00.05 sshd: 
  [accepted] (sshd)
  sshd756  0.0  0.8  4792 2936  ??  S12:29AM   0:00.18 sshd: [net] 
  (sshd)
  root760  0.0  0.1   348  232  v0  R+   12:29AM   0:00.00 grep sshd

truss -d output of the two ssh processes might be useful too, if the
sshd debugging output doesn't point to anything obvious.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sshd_config / failed authentication

2005-01-27 Thread Fabian Anklam
Dear all,

could someone be so kind to point out to me which settings in
sshd_config have to be changed to allow login from an ssh client
without getting authentication failed messages on the console and a
timeout on the guest machine.

My client, putty in this case display the login: dialog, but after
entering the username hangs without ever displaying the password:
dialog

My FreeBSD5.3 Release box ps -aux reveals:

root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
root755  0.0  0.8  4720 2920  ??  Is   12:29AM   0:00.05 sshd:
[accepted] (sshd)
sshd756  0.0  0.8  4792 2936  ??  S12:29AM   0:00.18 sshd: [net] (sshd)
root760  0.0  0.1   348  232  v0  R+   12:29AM   0:00.00 grep sshd

and then, after about a minute:

root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
root755  0.0  0.8  4912 3072  ??  Ss   12:29AM   0:00.06 sshd: fan
[priv] (sshd)
sshd756  0.0  0.8  4768 2940  ??  S12:29AM   0:00.18 sshd: fan [net] 
(sshd)
root835  0.0  0.1   348  232  v0  R+   12:30AM   0:00.00 grep sshd

and then, after about a minute again:

[...] sshd[755}: fatal: Timeout before authentication for  192.168.0.10

I did man sshd_config and changed some settings despite not
understanding one word but to no avail so i restored the original.

I tried to consult the handbook, also to no avail.

Help needed and appreciated,

Fabian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config / failed authentication

2005-01-27 Thread Fabian Anklam
On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam
[EMAIL PROTECTED] wrote:
 Dear all,
 
 could someone be so kind to point out to me which settings in
 sshd_config have to be changed to allow login from an ssh client
 without getting authentication failed messages on the console and a
 timeout on the guest machine.
 
 My client, putty in this case display the login: dialog, but after
 entering the username hangs without ever displaying the password:
 dialog
 
 My FreeBSD5.3 Release box ps -aux reveals:
 
 root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
 root755  0.0  0.8  4720 2920  ??  Is   12:29AM   0:00.05 sshd:
 [accepted] (sshd)
 sshd756  0.0  0.8  4792 2936  ??  S12:29AM   0:00.18 sshd: [net] 
 (sshd)
 root760  0.0  0.1   348  232  v0  R+   12:29AM   0:00.00 grep sshd
 
 and then, after about a minute:
 
 root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
 root755  0.0  0.8  4912 3072  ??  Ss   12:29AM   0:00.06 sshd: fan
 [priv] (sshd)
 sshd756  0.0  0.8  4768 2940  ??  S12:29AM   0:00.18 sshd: fan [net] 
 (sshd)
 root835  0.0  0.1   348  232  v0  R+   12:30AM   0:00.00 grep sshd
 
 and then, after about a minute again:
 
 [...] sshd[755}: fatal: Timeout before authentication for  192.168.0.10
 
 I did man sshd_config and changed some settings despite not
 understanding one word but to no avail so i restored the original.
 
 I tried to consult the handbook, also to no avail.
 
 Help needed and appreciated,
 
 Fabian
 

Just a short followup:

ssh localhost from ttyv connects and I reach a ttyp
ssh NIC IP from ttyv yields a timeout like a remote connection

Thanks,

Fabian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config / failed authentication

2005-01-27 Thread Nigel Wohlers
Fabian Anklam wrote:
On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam
[EMAIL PROTECTED] wrote:
Dear all,
could someone be so kind to point out to me which settings in
sshd_config have to be changed to allow login from an ssh client
without getting authentication failed messages on the console and a
timeout on the guest machine.
My client, putty in this case display the login: dialog, but after
entering the username hangs without ever displaying the password:
dialog
My FreeBSD5.3 Release box ps -aux reveals:
root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
root755  0.0  0.8  4720 2920  ??  Is   12:29AM   0:00.05 sshd:
[accepted] (sshd)
sshd756  0.0  0.8  4792 2936  ??  S12:29AM   0:00.18 sshd: [net] (sshd)
root760  0.0  0.1   348  232  v0  R+   12:29AM   0:00.00 grep sshd
and then, after about a minute:
root722  0.0  0.7  3360 2812  ??  Is   12:12AM   0:00.01 sshd
root755  0.0  0.8  4912 3072  ??  Ss   12:29AM   0:00.06 sshd: fan
[priv] (sshd)
sshd756  0.0  0.8  4768 2940  ??  S12:29AM   0:00.18 sshd: fan [net] 
(sshd)
root835  0.0  0.1   348  232  v0  R+   12:30AM   0:00.00 grep sshd
and then, after about a minute again:
[...] sshd[755}: fatal: Timeout before authentication for  192.168.0.10
I did man sshd_config and changed some settings despite not
understanding one word but to no avail so i restored the original.
I tried to consult the handbook, also to no avail.
Help needed and appreciated,
Fabian

Just a short followup:
ssh localhost from ttyv connects and I reach a ttyp
ssh NIC IP from ttyv yields a timeout like a remote connection

Reverse DNS lookup timeout?
N
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config / failed authentication

2005-01-27 Thread Fabian Anklam
 Reverse DNS lookup timeout?
 
 N
 

Authentication seems to be the problem, not connection, care to elaborate?

Thanks,

Fabian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config / failed authentication

2005-01-27 Thread Fabian Anklam
On Fri, 28 Jan 2005 16:31:24 +1300, Nigel Wohlers [EMAIL PROTECTED] wrote:
 What is the value of LoginGraceTime?
 
 SSH will try to do a reverse lookup on the IP connecting to it and if
 that times out before LoginGraceTime then your client (putty) will get
 booted and SSH will report the failure to syslog.
 
 
 Fabian Anklam wrote:
 Reverse DNS lookup timeout?
 
 N
 
 
 
  Authentication seems to be the problem, not connection, care to elaborate?
 
  Thanks,
 
  Fabian
 

LoginGraceTime was left at default value (2 minutes iirc). Adding the
Windows box to /etc/hosts doesn't resolve the problem.

sshd writes

sshd[procid]: fatal: Timeout before authentication for windows.box.ip

to /var/log/messages

Fabian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]