<br><br><div class="gmail_quote">On Sat, May 31, 2008 at 1:57 PM, Cameron Simpson <<a href="mailto:cs@zip.com.au">cs@zip.com.au</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 30May2008 19:14, Mikkel L. Ellertson <<a href="mailto:mikkel@infinity-ltd.com">mikkel@infinity-ltd.com</a>> wrote:<br>
<div class="Ih2E3d">> Cameron Simpson wrote:<br>
>> I missed the start of this thread, but you can use the ProxyCommand ssh<br>
>> option to hop through multiple servers, keeping the "top level" ssh<br>
>> nicely connected to your terminal and the endpoint (via the proxycommand<br>
>> tunnel). Which may solve the -t option issue.<br>
>><br>
>> I have a script called "sshto" that does exactly this for multihop ssh<br>
>> connections. Very handy, especially since you can make "sshto" the<br>
>> default transport for rsync, letting you do multihop rsyncs easily:<br>
>><br>
>>   rsync some-dir/ host1\!host2\!host3:some-other-dir/<br>
><br>
</div><div class="Ih2E3d">> It sounds like you have experience with what he is trying to do, so<br>
> please continue to advice the OP. What he is does now is ssh to PC A, and<br>
> then ssh to PC B. What he wants to ssh to PC B in one command, but he has<br>
> to go through PC A. (firewall machine?)<br>
<br>
</div>Then he definitely wants sshto:<br>
<br>
  <a href="http://www.cskk.ezoshosting.com/cs/css/bin/sshto" target="_blank">http://www.cskk.ezoshosting.com/cs/css/bin/sshto</a><br>
<br>
Conveniently, it can make use of an sshtorc file that maps "name" into an<br>
arbitrary "name1!name2!name3!..." ssh hop path. I routiney get only<br>
certain hosts as "sshto foo" where "foo" designates a multihop ssh path.<br>
<div class="Ih2E3d"></div></blockquote><div><br><br>Sounds a  very interesting tool. I gave it a try. But<br><br>what is shqstr?<br>looks a like a command, but not in my system<br><br>thanks<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
Cheers,<br>
--<br>
Cameron Simpson <<a href="mailto:cs@zip.com.au">cs@zip.com.au</a>> DoD#743<br>
<a href="http://www.cskk.ezoshosting.com/cs/" target="_blank">http://www.cskk.ezoshosting.com/cs/</a><br>
<br>
</div>My motto is, 'Do it my way or watch your butt.' -  Nathan Arizona<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
</div></div></blockquote></div><br>