| Summary: | ssh-keyscan does not work with F-Secure SSH 3.2.0 sometimes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | dave <dave> | ||||||
| Component: | Miscellaneous | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1047 | ||||||||
| Attachments: |
|
||||||||
|
Description
dave
2005-08-09 21:24:49 AEST
I'm not sure if it's intentional on the part of the server, but it seems within the existing protocol spec: (http://www.ietf.org/internet-drafts/draft-ietf-secsh-transport-24.txt section 4.2). Looks like ssh and ssh-keyscan ought to read and ignore such lines. Created attachment 985 [details]
Ignore leading junk from the server
This patch ignores junk prior to the "SSH-" ident, like we do in the client.
Created attachment 986 [details]
Better patch
This patch is better - it won't hang on servers that suddenly drop the connection before sending a SSH- ident.
fix applied, will be in openssh-4.3. thanks! Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |