Date: Fri, 3 Dec 2010 20:16:52 -0600 From: Adam Vande More <amvandemore@gmail.com> To: Josh Suid <joshsuid@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: ssh interactive session, through intermediate hosts ... problems ... Message-ID: <AANLkTikEWS274f3dTDPmpFROBy9QX=QJKUtUAHRj5gwu@mail.gmail.com> In-Reply-To: <894762.38692.qm@web114415.mail.gq1.yahoo.com> References: <894762.38692.qm@web114415.mail.gq1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 3, 2010 at 6:43 PM, Josh Suid <joshsuid@yahoo.com> wrote: > # ssh user@host ssh user@host2 > Pseudo-terminal will not be allocated because stdin is not a terminal. > Permission denied (publickey,keyboard-interactive). > > Is there a way to build this tunnel with a single command ? (an ssh > command, > run over an ssh command, run over an ssh command) > > Finally, is there a way to scp a file over intermediate hosts ? That is to > say, I want to scp the file: user@host:/some/file to myself, but I want > the ssh session to go through hosts X and Y first ... there must be a way > to do this where you pipe the output of scp over ssh to ... head > spinning... > Generally speaking, you'll do something like this: http://www.rzg.mpg.de/networkservices/ssh-tunnelling-port-forwarding then you can do fancier stuff to speed up working like passwordless login's, terminal multiplexer's like tmux etc. You may also wish to consider setting up a VPN. -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikEWS274f3dTDPmpFROBy9QX=QJKUtUAHRj5gwu>