LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   multiple hops passwordless with putty not works (https://www.linuxquestions.org/questions/general-10/multiple-hops-passwordless-with-putty-not-works-4175669424/)

mierdatuti 02-12-2020 04:00 AM

multiple hops passwordless with putty not works
 
I would like these config: MachineA (windows with putty) -> MachineB (user AAAA) -> MachineC (user BBBB)

I export public key to Machine B and I configure Putty to enter with passwordless wihout problems.

Then in MachineC, I configure option Proxy with MachineB but it request me the password.
Code:

"C:\Program Files\PuTTY\plink.exe" -v MachineB -l AAAA -nc %host:%port
Someone could help me please?

Turbocapitalist 02-12-2020 04:05 AM

You're better off asking Windows questions over at one of the many Windows forums.

If you are running Linux Mint or Ubuntu on your desktop, then you can use the ProxyJump (-J) option. with the normal SSH client.

Code:

ssh -J machineB machineC
I suspect also even on GNU/Linux that PuTTY does not have support for ProxyJump so you'll have to resort to some work around using plink and netcat.


All times are GMT -5. The time now is 09:44 PM.