LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-12-2020, 05:00 AM   #1
mierdatuti
Member
 
Registered: Aug 2008
Posts: 59

Rep: Reputation: 15
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?
 
Old 02-12-2020, 05:05 AM   #2
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,463
Blog Entries: 3

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
traceroute command showing only 2 hops on Ubuntu 16.04 (VirtualBox); tracert works on host OS (Win10) \_(ツ)_/ Linux - Networking 9 05-30-2017 07:36 PM
split routing - traceroute not displaying unrouted hops fragtion Linux - Networking 8 01-21-2011 01:37 AM
Passwordless SSH works... but not with a command Zxian Linux - Networking 5 05-23-2008 04:59 PM
passwordless SSH works for root but not www-data zovres Linux - General 1 07-26-2006 12:31 PM
Scoll wheel not working properly hops to the right zipo13 Linux - Hardware 2 07-04-2005 04:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration