Skip to content

Only one service request per authentication serie - #24

Closed
gellule wants to merge 1 commit into
paramiko:masterfrom
gellule:master
Closed

gellule wants to merge 1 commit into
paramiko:masterfrom
gellule:master

Conversation

@gellule

@gellule gellule commented Jul 5, 2011

Copy link
Copy Markdown

This fixes the issue I had with the authentication key not being the first one delivered by ssh-agent. The problem was paramiko sending a service request for each ssh key held by the agent. The server would disconnect on the second service request. With the changes, (1) the authentication is instantiated only once for the full list of keys provided by the agent, (2) the service request is only performed once.

Cheers!

@lndbrg

lndbrg commented Aug 14, 2014

Copy link
Copy Markdown
Contributor

Looks good. Needs some tests though!

@jansegre

Copy link
Copy Markdown

I checked and this fixes the issue I commented about on #23. I will port this to the latest master and open a new PR.

@bitprophet

Copy link
Copy Markdown
Member

Rolling this into #478 as per above

@bitprophet bitprophet closed this Jan 27, 2015
intgr pushed a commit to intgr/paramiko that referenced this pull request Nov 27, 2019
SSHClient: invoke_shell() should use environment argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants