Click to See Complete Forum and Search --> : FTP'ing across servers
Architect
06-29-2005, 07:47 AM
Right now how I transfer files to my remote UNIX account is in this manner
1. Connect to an authentication server and login
2. FTP the files I need to this server first (from my local PC)
3. From here FTP to the actual server I need and then transfer the files.
Is there any way I can skip those first 2 steps?
I tried using FileZilla with all those FTP Proxy settings but none work. Is there anyway this can be done, so that I can at least try to modify FileZilla for this to work.
If all the server run ssh you could do it with scp/sftp.
your machine > machine you get the files from > machine where you want to upload (without transfering your files to your machine)
Architect
06-30-2005, 03:29 AM
Sorry if this sounds stupid but what is scp/sftp?
retsaw
06-30-2005, 03:52 AM
Basically they are forms of cp and ftp over ssh so they are secure, hence the s in their names.
Architect
06-30-2005, 09:42 AM
Hey I just found out that I am able to ftp directly to my local PC from the second remote machine. So is there any chance the reverse would be possible?
happybunny
06-30-2005, 10:33 AM
can you ssh into the target server from your pc?
if so, you can ftp over ssh (sftp) files.
Also, are you going from windows => linux or linux => linux?
Architect
06-30-2005, 10:37 AM
How do I ssh to that machine it is 2 IP's away? i.e the first is x.x.x.x and from that I go to y.y.y.y
happybunny
06-30-2005, 10:55 AM
what?
from your Windows/linux desktop, can you ssh to target server? or are you seperated by a firewall?
Architect
06-30-2005, 11:01 AM
From my windows desktop I tried ssh y.y.y.y and it didn't work.
I have never used ssh/sftp before.
What i meant was I have to telnet to x.x.x.x and then to y.y.y.y always. So i thought the same would apply for ssh?
happybunny
06-30-2005, 11:10 AM
sorry, but I don't know your network setup, so its a little hard to give you the right advice.
Your network must be setup with an "authentication" server that bridges you and that remote server (y.y.y.y).
Or, ssh server is not on y.y.y.y. You mention telnet....do you telnet to x.x.x.x, then telnet to y.y.y.y? If so, did you try telnet y.y.y.y?
what error did you get when you ssh y.y.y.y?
can you ping y.y.y.y?
Architect
06-30-2005, 11:15 AM
Yes thats it. I am able to x.x.x.x but not to y.y.y.y from my PC. Only from x.x.x.x can I get to y.y.y.y, but from y.y.y.y I am able to ftp to my local IP.
I get a "Connection timed out" on ssh y.y.y.y
I can't ping y.y.y.y
Architect
06-30-2005, 11:26 AM
Hey can I add a route to this y.y.y.y through x.x.x.x on my PC somehow?
Would that work?
Architect
07-05-2005, 03:22 AM
Hmm... So I guess this isn't possible?
happybunny
07-05-2005, 09:41 AM
well, if x.x.x.x is actually acting as a router, you should be able to add a static route to y.y.y.y through that machine on your own PC.
However, if x.x.x.x just happens to have an NIC on each subnet and is not forwarding traffic, you're out of luck.
What OS is you PC? If windows, look into route add command.
Architect
07-05-2005, 11:02 AM
I use Windows XP locally.
I did try the route add command, but it didn't work. And x.x.x.x is a *NIX server that allows me to login and then ftp to the x.y.y.y machine.