LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-17-2004, 08:29 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket, Thailand
Distribution: Slackware 14.1
Posts: 434

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


Hi,

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

Mark

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, 08: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 08:55 AM.
 
Old 09-17-2004, 08:55 AM   #3
barisdemiray
Member
 
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:

Code:
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 www.netfilter.org abour port-forwarding with iptables.
 
Old 09-17-2004, 10:08 PM   #4
slackist
Member
 
Registered: Feb 2004
Location: Phuket, Thailand
Distribution: Slackware 14.1
Posts: 434

Original Poster
Rep: Reputation: Disabled
Thanks for the ideas,
mark
 
Old 09-18-2004, 05:34 AM   #5
mardanian
Member
 
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.
 
  


Reply


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 07: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 03:02 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM
setting up a home network, unix/win2k box to connect with xp system Cher Linux - Networking 7 03-11-2004 01:41 AM
how can i connect through my mdk 9.2 box at home from school? spyghost Linux - Networking 16 01-23-2004 02:17 PM


All times are GMT -5. The time now is 01:44 PM.

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