Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So....I want to transfer files to a computer but for doing it, it takes a long time to set up tunneling a with the ssh command from terminal( ssh -P -N .... ). I need to transer files from MyPC ----> Network --> DestinationPC.
With WinSCP (Windows), I just set up tunneling, save my connection and thats it. Is there any like alternative for Linux? I tried gftp but I can't tunnel with it.
Thanks!
If you need to transfer files, have you tried using SSHFS? All you need on your end is Fuse (and SSH of course) and all the other end needs is an SSH server.
Looks like Fuse is a good solution but there is no package for Ubuntu or apt-get install does not find it. thanks though
tredegar,
Thanks for your response. However, this will not work because I need to connect to a intermediate computer to reach the final cluster (computer). From MyPC to IntermediatePC to ClusterPC. So...basically two IPs. any other suggestions?
So....I want to transfer files to a computer but for doing it, it takes a long time to set up tunneling a with the ssh command from terminal( ssh -P -N .... ). I need to transer files from MyPC ----> Network --> DestinationPC.
I'm assuming that "Network" is some gateway machine that you have to log on to because there is no direct route from "MyPC" to "DestinationPC".
If this is the case you can make a tunnel:
Code:
MyPC> ssh -f -N -L56789:DestinationPC:22 Network
Now port 56789 on the localhost (MyPC) points to port 22 (default ssh port) on the the machine DestinationPC.
So to copy a file to DestinationPC you would now do:
Code:
MyPC> scp -P 56789 somefile.foo localhost:
Quote:
With WinSCP (Windows), I just set up tunneling, save my connection and thats it. Is there any like alternative for Linux? I tried gftp but I can't tunnel with it.
If you are doing this often you can put some entries in your .ssh/config to save all the repeated typing of flags and options.
Cheers,
Evo2.
Last edited by evo2; 08-25-2010 at 10:51 PM.
Reason: typos
evo2,
thanks for your reply. Well this is what I've been doing and yes the gateway idea is correct. But still, i think its a pain looking for folders from/to where i want to copy. The TAB button does not work when using scp as well....thats why i am trying to find a program similar to WinSCP.
indienick and estabroo,
I installed sshfs but I dont know how to use it. I tried the sshfs -h command but still doesnt make sense...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.