![]() However, PuTTY itself - not gpg-agent - prompts me for the password verylongandcomplicatedpassword - every time! Agent forwarding also doesn't work insomuch as that I'm unable to go from server A to server B without retyping my password after successful login from PuTTY. Private Key File for Authentication: C:\Users\name\ssh\id_rsa.ppk I created a new PuTTY connection to server A, connection type SSH. I successfully opened it with PuTTYgen and saved it in PuTTY format to C:\Users\name\ssh\id_rsa.ppk. ssh/id_rsa from server B onto my Windows machine. gpg-agent is started as a Startup item using gpg-connect-agent /bye and is running on Windows. I want the same thing for server A, because server B is unreachable from site 2, where I also work sometimes. On Windows at site 1 I have a PuTTY connection set-up to server B using agent-forwarding for my smartcard in order to be able to use git on server B and authenticate with my smartcard. Using ssh from server B to server A works now. ![]() ssh/authorized_keys on server A as well as on server B. The password is verylongandcomplicatedpassword. Therefore, I created a password-protected RSA ssh key pair with on server B using ssh-keygen -t rsa Thus, with the smartcard unavailable, I have to make sure I have a private key available on server B. Since server B is running NX Server v3.5.x, agent-forwarding does not work using NX Client. From there, I need to be able to ssh into server A using publickey authentication as well. ![]() Most of the time at site 1, I need to remotely connect to server B using NoMachine's NX Client v3.5.x. I use gpg-agent with the enable-putty-support setting activated instead of pageant to use a smartcard for git authentication at $popular_git_site. I'm on Windows at site 1, using PuTTY to connect to server A that's set to ssh publickey authentication only. Two Windows workstations, one at site 1, the other at site 2. Server A is reachable from both sites, while server B is reachable from site 1 only. Two Linux servers, server A and server B. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |