mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Oops - don't invent an X authorisation when doing agent forwarding!
Overenthusiastic c'n'p breaks the world. [originally from svn r999]
This commit is contained in:
parent
c760ef6f83
commit
1a9d213a74
1
ssh.c
1
ssh.c
@ -3458,7 +3458,6 @@ static void do_ssh2_authconn(unsigned char *in, int inlen, int ispkt)
|
||||
if (cfg.agentfwd && agent_exists()) {
|
||||
char proto[20], data[64];
|
||||
logevent("Requesting OpenSSH-style agent forwarding");
|
||||
x11_invent_auth(proto, sizeof(proto), data, sizeof(data));
|
||||
ssh2_pkt_init(SSH2_MSG_CHANNEL_REQUEST);
|
||||
ssh2_pkt_adduint32(mainchan->remoteid);
|
||||
ssh2_pkt_addstring("auth-agent-req@openssh.com");
|
||||
|
Loading…
Reference in New Issue
Block a user