version 1.362, 2011/06/03 00:54:38 |
version 1.363, 2011/06/22 22:08:42 |
|
|
/* Request forwarding with authentication spoofing. */ |
/* Request forwarding with authentication spoofing. */ |
debug("Requesting X11 forwarding with authentication " |
debug("Requesting X11 forwarding with authentication " |
"spoofing."); |
"spoofing."); |
x11_request_forwarding_with_spoofing(0, display, proto, data); |
x11_request_forwarding_with_spoofing(0, display, proto, |
|
data, 0); |
/* Read response from the server. */ |
/* Read response from the server. */ |
type = packet_read(); |
type = packet_read(); |
if (type == SSH_SMSG_SUCCESS) { |
if (type == SSH_SMSG_SUCCESS) { |
|
|
/* Request forwarding with authentication spoofing. */ |
/* Request forwarding with authentication spoofing. */ |
debug("Requesting X11 forwarding with authentication " |
debug("Requesting X11 forwarding with authentication " |
"spoofing."); |
"spoofing."); |
x11_request_forwarding_with_spoofing(id, display, proto, data); |
x11_request_forwarding_with_spoofing(id, display, proto, |
|
data, 1); |
|
client_expect_confirm(id, "X11 forwarding", CONFIRM_WARN); |
|
/* XXX exit_on_forward_failure */ |
interactive = 1; |
interactive = 1; |
/* XXX wait for reply */ |
|
} |
} |
|
|
check_agent_present(); |
check_agent_present(); |