mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 01:27:35 -05:00
Configuration option for agent forwarding
[originally from svn r597]
This commit is contained in:
2
ssh.c
2
ssh.c
@ -1544,7 +1544,7 @@ static void ssh1_protocol(unsigned char *in, int inlen, int ispkt) {
|
||||
if (ssh_state == SSH_STATE_CLOSED)
|
||||
crReturnV;
|
||||
|
||||
if (1 /* FIXME: agent exists && agent forwarding configured */ ) {
|
||||
if (cfg.agentfwd && agent_exists()) {
|
||||
logevent("Requesting agent forwarding");
|
||||
send_packet(SSH1_CMSG_AGENT_REQUEST_FORWARDING, PKT_END);
|
||||
do { crReturnV; } while (!ispkt);
|
||||
|
Reference in New Issue
Block a user