WindTerm
WindTerm copied to clipboard
SSH agent forwarding not passing the key to remote
Hi, I was testing WindTerm for windows and have tried the SSH agent forwarding with pageant. I put the private key to pageant, connect to remote machine and it successfully authenticate me. Next im not sure whether i did something wrong, its a bug or this featture is not implemented yet, the key is not forwarded to the machine i have connected to.
echo "$SSH_AUTH_SOCK"
is blank
in putty or other terminal client:
echo "$SSH_AUTH_SOCK"
/tmp/ssh-jmhFpdffir/agent.231074
Thanks for any help and keep up the great work.
SSH_AUTH_SOCK is used by the ssh-agent
of OpenSSH, I am not quite sure if pageant would associate it as well. But I test echo "$SSH_AUTH_SOCK"
with putty and pageant in my system, it also output a blank line. So I thought maybe this is correct.
In addition, running ssh-agent
does output what you describe:
SSH_AUTH_SOCK=/tmp/ssh-Xnv01Q0kGoJC/agent.2653; export SSH_AUTH_SOCK; SSH_AGENT_PID=2654; export SSH_AGENT_PID; echo Agent pid 2654;
Thanks for the response.
In the Putty client the setting for agent forwarding can be achieved by checking this:
This should be the equivalent of ssh -A [email protected]
when using ssh
command to connect to remote host.
-A
is for enabling agent forwarding.
Thank you very much. This is my fault, because I have never used this feature, so this feature was ignored by me. Yes, Agent forwarding has not been implemented yet. And I will implement it in the version 2.2.0. This version is expected to be released in May.
I will update the progress here in time. Please keep follow and thanks.
Hi, On 2.3.0 prerelease 4, pagent authentication works but once connected to the server, forwarding the key to the next server does not work for me. My config file seems ok (this configuration works with Putty + Allow agent forwarding option)
$ cat .ssh/config ForwardAgent yes
Hi, On 2.3.0 prerelease 4, pagent authentication works but once connected to the server, forwarding the key to the next server does not work for me. My config file seems ok (this configuration works with Putty + Allow agent forwarding option)
$ cat .ssh/config ForwardAgent yes
Hi, this featture has been postponed to some later version as on the main page notes for 2.3 version:
- SSH Agent Forwaring (Postponed to a later version )
Hi, same problem for me I'm waiting for the next version
One year has passed, is there any plan for this feature ?