зеркало из https://github.com/github/putty.git
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:
Родитель
c760ef6f83
Коммит
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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче