1
0
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:
Simon Tatham
2000-09-15 11:26:18 +00:00
parent 2cbed87ad1
commit f8be19a08b
6 changed files with 39 additions and 10 deletions

2
ssh.c
View File

@ -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);