The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP - To handle error while transferring files mahalakshmi Shell Programming and Scripting 1 04-04-2007 12:56 AM
Transferring hidden files with scp matrixmadhan UNIX for Dummies Questions & Answers 13 01-16-2007 01:00 PM
transferring files using ftp but mantaining the dates 435 Gavea Shell Programming and Scripting 4 07-23-2006 08:48 AM
Get files from other computer on the network janbanan UNIX for Dummies Questions & Answers 2 01-29-2006 04:06 PM
FTP session expiring when transferring files... Need some solution aarora_98 Shell Programming and Scripting 4 12-13-2005 10:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-26-2006
Registered User
 

Join Date: May 2006
Posts: 3
transferring files to and from remote computer

Hi all,
i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck.
How do i send a file from home to my office computer.
Do I have to send it to my university account, then log in there then send it on to my office comp. Or is there a quicker way

Thanks yogi
Reply With Quote
Forum Sponsor
  #2  
Old 05-26-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
What OS(es)?
Reply With Quote
  #3  
Old 05-27-2006
Registered User
 

Join Date: May 2006
Posts: 3
Sorry,
my home and office has fedora core 4 running, and the university one is unix.
Reply With Quote
  #4  
Old 05-27-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
The only suggestion is to use rsync -
Set up a directory on your university account that is kept in sync with one directory (tree) on the office computer.

Then you can access the files directly from home.

I have a similar situation. But because of quotas it became a pain to maintain, so I just keep everything on my work boxes in one directory tree - then copy it to a thumb drive right before I leave work.
Reply With Quote
  #5  
Old 05-27-2006
Registered User
 

Join Date: May 2006
Posts: 3
Thanks.

I really have no idea how to do any of that, as I have just started using unix. But at least I know the what to read up on. I'll let you know how i get on.

Yogi
Reply With Quote
  #6  
Old 05-28-2006
Registered User
 

Join Date: May 2006
Posts: 101
To tranfer files you need an account on the other box ('remote').
All services requiere a running server on the other side. perhaps you have also one or more firewalls in you way, that is something i can not figure out from here but may cause the service to fail.

1. ftp - interactive program
usage: ftp remote
it ask for user and password you can use 'cd' to change directory on the remote machine and 'lcd' on your local box. use 'put filelocal' to send files to remote machine

2. scp - non interactive
scp filelocal user@remote:.
will copy the 'filelocal' into the home directory of 'user' on remote.

for both commands: read the man pages for more information
Reply With Quote
  #7  
Old 05-28-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
I think OP's work box is behind a firewall. Otherwise he would connect straight from home. Why would he want to do a "jump" like that otherwise.

The only other choice is to tunnel through from the outside. Which AFAIK requires specails oftware.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0