Bugzilla – Attachment 2540 Details for
Bug 1213
ssh-keyscan exits in mid-way
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
set timeout
keyscan-timeout.diff (text/plain), 470 bytes, created by
Damien Miller
on 2015-01-30 20:23:05 AEDT
(
hide
)
Description:
set timeout
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-01-30 20:23:05 AEDT
Size:
470 bytes
patch
obsolete
>diff --git a/ssh-keyscan.c b/ssh-keyscan.c >index 777be69..dd5fbbd 100644 >--- a/ssh-keyscan.c >+++ b/ssh-keyscan.c >@@ -450,6 +450,7 @@ congreet(int s) > *cp = '\0'; > if ((c->c_ssh = ssh_packet_set_connection(NULL, s, s)) == NULL) > fatal("ssh_packet_set_connection failed"); >+ ssh_packet_set_timeout(c->c_ssh, timeout, 1); > ssh_set_app_data(c->c_ssh, c); /* back link */ > if (sscanf(buf, "SSH-%d.%d-%[^\n]\n", > &remote_major, &remote_minor, remote_version) == 3)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1213
:
1961
|
1969
|
2000
|
2005
|
2008
|
2016
|
2018
|
2021
|
2057
|
2197
|
2533
|
2536
|
2537
| 2540