tag:blogger.com,1999:blog-1608705335066798875.post3432841656223849161..comments2024-03-28T10:35:56.987+01:00Comments on IoC : Ulises Fasoli's blog: Multi-hop ssh tunnel - howto : Creating a SSH tunnel with port forwarding between multiple hostsUlises Fasolihttp://www.blogger.com/profile/18263942972377086645noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-1608705335066798875.post-69156024699337078342019-04-17T17:18:16.924+02:002019-04-17T17:18:16.924+02:00THanks a lot .. it is clean and clear.. appreciate...THanks a lot .. it is clean and clear.. appreciate it Aravinhttps://www.blogger.com/profile/02292500992223526240noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-88963795705339574332017-03-26T19:48:41.248+02:002017-03-26T19:48:41.248+02:00I want to connect from local mobaterm to abc@101.2...I want to connect from local mobaterm to abc@101.231.245.190(jump server 1).<br />Then I need to connect to jump server 2 i.e. (xyz@101.188.214.125).<br /><br />I tried below but does not work:<br /><br />[nitin@local]> ssh -L38080:localhost:38080 abc@101.231.245.190<br />[abc@101.231.245.190]>ssh -L38080:localhost:8080 xyz@101.188.214.125<br /><br />Please help hereNitin Guptahttps://www.blogger.com/profile/06215313867123559345noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-67258713759664682702016-12-08T14:36:59.780+01:002016-12-08T14:36:59.780+01:00Yes you can do this with Putty. SSH is SSH as long...Yes you can do this with Putty. SSH is SSH as long as you are in a terminal (putty or moba xterm) you can do this. just use the part where he strings it together or uses the seperate parts. It does not matter if you are on windows if you are using putty. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-51328167701883212842016-09-17T20:29:21.195+02:002016-09-17T20:29:21.195+02:00Is it possible to accomplish this with putty? If y...Is it possible to accomplish this with putty? If yes can you detail it? Coz my local host is windows and hops are all linux machines.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-8896144956630887972016-08-08T21:11:59.777+02:002016-08-08T21:11:59.777+02:00welcoemwelcoemErin.w.dickiehttps://www.blogger.com/profile/13965042598185270598noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-88019562838242117872016-04-18T10:06:58.245+02:002016-04-18T10:06:58.245+02:00Hi,
Yes you can pick any port you want as long as ...Hi,<br />Yes you can pick any port you want as long as that port is available on the intermediate serversUlises Fasolihttps://www.blogger.com/profile/18263942972377086645noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-89491853547537339182016-04-18T10:04:53.893+02:002016-04-18T10:04:53.893+02:00thank you so much for sharing. So may I just pick ...thank you so much for sharing. So may I just pick any port for the intermediate servers?( host 1 and host2) because I only know the specific ports for host3 and localHostBing Xhttps://www.blogger.com/profile/07497056932990304725noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-16987784405163165812015-08-11T07:55:19.729+02:002015-08-11T07:55:19.729+02:00Glad it was useful, thanks for the comment!Glad it was useful, thanks for the comment!Ulises Fasolihttps://www.blogger.com/profile/18263942972377086645noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-36704624966812279282015-08-11T01:58:17.517+02:002015-08-11T01:58:17.517+02:00This takes SSH capabilities to a whole nother leve...This takes SSH capabilities to a whole nother level! Thank you for sharing this!Timnoreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-16793206041770684182015-06-01T14:57:41.820+02:002015-06-01T14:57:41.820+02:00Hi,
I have no experience with this library, but if...Hi,<br />I have no experience with this library, but if you can use it to send any linux command through it I would guess yes.<br /><br />Ulises Fasolihttps://www.blogger.com/profile/18263942972377086645noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-69686648214613073032015-06-01T14:55:21.326+02:002015-06-01T14:55:21.326+02:00can we do this programmatically by passing command...can we do this programmatically by passing commands in program using Jsch library in javaAnonymoushttps://www.blogger.com/profile/15509791994904018046noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-80590680024556613912015-03-02T13:14:28.067+01:002015-03-02T13:14:28.067+01:00In that case skip the 3rd ssh, modify second tunne...In that case skip the 3rd ssh, modify second tunnel to be ssh -L38080:host3:8080 ufasoli@host2Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-51947609996776566392015-01-14T01:40:07.523+01:002015-01-14T01:40:07.523+01:00Can you do the same thing if host3 doesn't hav...Can you do the same thing if host3 doesn't have ssh? Like it's a windows server? From client, through host1, through host2, to 8080 on host3 that doesn't have ssh.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-86314356866292025472014-12-07T18:36:06.210+01:002014-12-07T18:36:06.210+01:00Hi thanks for the feedback! glad it was helpful to...Hi thanks for the feedback! glad it was helpful to you ;)Ulises Fasolihttps://www.blogger.com/profile/18263942972377086645noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-34022219646056036992014-12-03T00:05:34.391+01:002014-12-03T00:05:34.391+01:00Works very well, especially that tip about "s...Works very well, especially that tip about "ssh -t" to chain commands together.<br />Thanks!Anonymoushttps://www.blogger.com/profile/11793426540428796642noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-42725238305422571992014-07-11T12:43:25.202+02:002014-07-11T12:43:25.202+02:00Glad it does, cheers
UlisesGlad it does, cheers<br /><br />UlisesUlises Fasolihttps://www.blogger.com/profile/18263942972377086645noreply@blogger.comtag:blogger.com,1999:blog-1608705335066798875.post-20934899085036476592014-07-11T12:29:35.349+02:002014-07-11T12:29:35.349+02:00good job
it works
thanks
good job<br />it works<br />thanks<br />Anonymousnoreply@blogger.com