[Bug 3300] ssh reports the error when use ssh -o "ConnectTimeout=2147483649"

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 30 14:27:51 AEST 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=3300

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME
                 CC|                            |dtucker at dtucker.net

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
You are reporting a bug against a locally modified 8.2p1?  If so, you
probably also want
https://github.com/openbsd/src/commit/ca5450d695d8f9e6bd3120068d652f29e732ef3e
which changed convtime() to return an int.  With this, current versions
will flag your test cases as an error:

$ ssh -o ConnectTimeout=2147483648 localhost
command-line line 0: invalid time value.
$ ssh -o ConnectTimeout=2147483649 localhost
command-line line 0: invalid time value.

Please reopen if you can reproduce the error with an unmodified OpenSSH
release.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list