| Summary: | Occassionally, SSH failed to connect and timeout after 2 hrs! | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Angus Lau <anguslau> |
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
|
Description
Angus Lau
2002-02-16 12:26:48 AEDT
what is the timeout issue? timeouts can be caused by filters that maintain connection state and have timeouts; or TCP keepalives or ??? this should probably be "invalid" Before I make ssh connection, the time is 'Tue Feb 12 04:10:04 HKT 2002'. After the ssh failed to connect (ssh_exchange_identification: read: Connection reset by peer), the time is Tue Feb 12 06:11:39 HKT 2002. ssh waits for 2 hrs before declaring the connection fails! OpenSSH doesn't second-guess your TCP stacks connect() function. There are patches to implement shorter timeouts, see Bug #91 Mass change of RESOLVED bugs to CLOSED |