I have a folder on a Sun Unix machine, that I want to copy to a Linux machine over an SSH tunnel.
It is the only way I can get out through the firewall.
Also I need to tunnel through a tunnel, since I need to stepstone out.
I have already created the stepstone tunnel by using the command:
ssh username@stepstone -2 -N -f -C -L 54322:remoteserver:22
I'm able to connect to the remote server now by using the command.
ssh -2 -C -p 54322 user@localhost
So the connection is working.
I have also been able to move a single file over the tunnel by using scp, however I need to move a folder that has thousands of files.
I have heard that tar is able to send it's output to almost anything, so can I send it over an SSH tunnel to the remote directory?
I can not tar it to one file and then scp it, since there is simply not enough space on the local drive to hold the directory in one file.
So what I need is to directly stream it over the tunnel, to the other end.
Is it possible?
Regards.
Brian
Eldaria
That was my 25cent** of opinion.
** Inclusive Intrest, tax on interest, Genral tax, Enviromental tax, Tax, and tax on intrest, tax on fees, tax on tax, and other Various taxes and fees.
It is the only way I can get out through the firewall.
Also I need to tunnel through a tunnel, since I need to stepstone out.
I have already created the stepstone tunnel by using the command:
ssh username@stepstone -2 -N -f -C -L 54322:remoteserver:22
I'm able to connect to the remote server now by using the command.
ssh -2 -C -p 54322 user@localhost
So the connection is working.
I have also been able to move a single file over the tunnel by using scp, however I need to move a folder that has thousands of files.
I have heard that tar is able to send it's output to almost anything, so can I send it over an SSH tunnel to the remote directory?
I can not tar it to one file and then scp it, since there is simply not enough space on the local drive to hold the directory in one file.
So what I need is to directly stream it over the tunnel, to the other end.
Is it possible?
Regards.
Brian
Eldaria
That was my 25cent** of opinion.
** Inclusive Intrest, tax on interest, Genral tax, Enviromental tax, Tax, and tax on intrest, tax on fees, tax on tax, and other Various taxes and fees.