SSH Agent forwarding with Putty and MFA Caching

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSH Agent forwarding with Putty and MFA Caching

L3 Networker

Dear community,

the last days we were able to get the ssh agent forwarding working with the native windows agent. But if we try to use software like putty we get an error and it seems like that the software used the wrong key. We tried to load the private ssh key of the user in the pageant, allowed the agent forwarding (Connection -> SSH -> Auth) and specified the mfa caching key (Connection -> SSH -> Auth -> Credentials). Did anyone get this working already and can tell us how we can solve behavior?

1 accepted solution

Accepted Solutions

L7 Applicator

Hi @Lukas Böllert​ 

 

If your environment allows the fix is to standardize on the Windows native ssh-agent service instead of Pageant and if you must use PuTTY/Pageant, please ensure that the keys are exported to the correct OpenSSH format. You can use puttygen to export the key as OpenSSH (Conversions > Export OpenSSH key ) and load that into the Windows OpenSSH agent.

 

Have you tried updating to the latest PuTTY which has the following?

  • Connection > SSH > Auth > Allow agent forwarding
  • Connection > SSH > Auth > Attempt authentication using Pageant

 

Hope it helps !

View solution in original post

1 REPLY 1

L7 Applicator

Hi @Lukas Böllert​ 

 

If your environment allows the fix is to standardize on the Windows native ssh-agent service instead of Pageant and if you must use PuTTY/Pageant, please ensure that the keys are exported to the correct OpenSSH format. You can use puttygen to export the key as OpenSSH (Conversions > Export OpenSSH key ) and load that into the Windows OpenSSH agent.

 

Have you tried updating to the latest PuTTY which has the following?

  • Connection > SSH > Auth > Allow agent forwarding
  • Connection > SSH > Auth > Attempt authentication using Pageant

 

Hope it helps !

  • 1 accepted solution
  • 197 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!