Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-17-2004, 09:29 AM   #1
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
Connect to work box from home box


I am moving jobs and I want to get my docs, pics and stuff from my work box onto my home box and hopefully learn something new in the process by doing it over the net.

Both machines run Slackware 9.1, and I have root access to the work box (and obviously home one too)

I know the IP address of the work LAN and also my work machines internal address as given by ifconfig.

I have pretty much no idea where to start. I haven't ever done any sort of remote log-in so I'd like to find a guide telling me how to do it.

I also don't know how to set up the work machine to allow a remote connection, what kind of extra software I'll need if any, if I need to run some sort of server on the work machine etc etc.

Many thanks for any links and suggestions


ps I would ask our sysadmin for help but he's away for a couple of weeks and his assistant only knows how to re-install Windows, actually I think that is all the assistant ever does
Old 09-17-2004, 09:53 AM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Yes, you must have a server on the work machine. It can be a ftp or a ssh. I recommend ssh. ssh is quite standard these days, chances are the machine already have it installed. But the command to start it may vary. In my suse I do "rcsshd start/stop" to manage it. On debian, its already started. Once you have the server started, you can try to log into it (first log in the same machine, just for testing): open a console and do "ssh machine", where machine is the name/address. It will present you with a prompt for logging in. If yes, the ssh server is ok.
At home, open a console and do "ssh machine" where machine is the ip of your work server. Everything shall be just similar. ssh will give you a command line where you can copy files/folders.

Post again if there's any problems.

EDIT: For all this to work, your work machine must have either a public ip (not internal) or a port redirectioning by the router/gateway.

Last edited by bruno buys; 09-17-2004 at 09:55 AM.
Old 09-17-2004, 09:55 AM   #3
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Your work box accesses to internet through another machine and doesn't have a real IP address, right? If so, easiest way is using scp on work box as:

scp -rv my_work_files/ chefmark@home_ip:
scp is a secure copying utility that uses SSH when connecting.

But if you want to learn some more and install a server on the work box; then i think you can forward a port on the gateway machine of your work box to port 21 (of your work box) and install a ftp server on your work box. You can read some manual from the abour port-forwarding with iptables.
Old 09-17-2004, 11:08 PM   #4
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Thanks for the ideas,
Old 09-18-2004, 06:34 AM   #5
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
yes scp is pretty good for secure copying over a net. and I hopes you can now eaily copies your files from work box to your home box if..........
you can access the work box from home via ssh then things are pretty easy for you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot ssh to home linux box from work gene_albin Linux - Networking 4 11-20-2004 08:26 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 04:02 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 12:13 PM
setting up a home network, unix/win2k box to connect with xp system Cher Linux - Networking 7 03-11-2004 02:41 AM
how can i connect through my mdk 9.2 box at home from school? spyghost Linux - Networking 16 01-23-2004 03:17 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration