LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2004, 06:13 PM   #1
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Rep: Reputation: 15
Talking Is it possible to log onto your home linux box from another machine running linux?!


Hey! Is it possible to log onto your home linux box from another machine running linux in another location? Ok, here is the situation:

I have a linux box at home running on Fedora Core 2 that is part of a home network with a D-Link router sharing a DSL connection. I would like to be able to access my home account from school using a portable version of Linux, such as Knoppix. Is it possible to do this? If it is, how would I go about doing it? And hey, if it is, then a step-by-step guide would be great! I think this would be a convenient way to access files from home while at school; just a generally good way to do work without having to transport the data around on discs. Let me know what you think!

Cheers,

Gormless
 
Old 10-26-2004, 06:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Sure ... all you need to do is to allow port-forwarding
of incoming ssh-connections on the router to your FC
machine, and off you go ...


Cheers,
Tink
 
Old 10-26-2004, 07:30 PM   #3
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
You then use SSH to login with the IP address your ISP has assigned to your home router/computer.

Code:
 ssh -l username  IP_address
 
Old 10-26-2004, 07:44 PM   #4
jonthelam
Member
 
Registered: Jul 2004
Location: Southern California
Distribution: Slackware 10
Posts: 61

Rep: Reputation: 16
If you need to get files on and off of your server you may want to try to setup a FTP server or even a CVS server through SSH.
 
Old 10-26-2004, 08:16 PM   #5
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Sure ... all you need to do is to allow port-forwarding
of incoming ssh-connections on the router to your FC
machine, and off you go ...


Cheers,
Tink
Hey, thx alot Tinkster, but how exactly do I go about allowing port-forwarding of incoming ssh-connections on my router?
 
Old 10-26-2004, 08:17 PM   #6
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jonthelam
If you need to get files on and off of your server you may want to try to setup a FTP server or even a CVS server through SSH.
I'm guessing I should just look this up using man ssh right? Would this be difficult/ time consuming to do?
 
Old 10-26-2004, 08:27 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
SSH, and therefore SCP and SFTP work out of the box on most distros, including FC2. You can just type (as root) 'service sshd status' to see if it's running. If not, type 'service sshd start' to start it and 'chkconfig sshd on 'to make sure it starts on each boot. Once it's up, forward port 22 of your router to your machines internal IP address, and enjoy! FWIW there are SSH and SFTP clients for Windows, so you don't have to carry around the Knoppix CD if you don't want to.
 
Old 10-26-2004, 10:27 PM   #8
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by btmiller
SSH, and therefore SCP and SFTP work out of the box on most distros, including FC2. You can just type (as root) 'service sshd status' to see if it's running. If not, type 'service sshd start' to start it and 'chkconfig sshd on 'to make sure it starts on each boot. Once it's up, forward port 22 of your router to your machines internal IP address, and enjoy! FWIW there are SSH and SFTP clients for Windows, so you don't have to carry around the Knoppix CD if you don't want to.
Thanks alot! This sounds fantastic. I'm going to try it out as soon as I get the chance. How exactly though do I forward port 22 of my router to my machine's IP address? And does this incur any sort of security risks? Also, if I used a SSH or SFTP client for Windows, would it boot up Linux on the Windows machine or would I just be running a Terminal? (I would most likely be using OpenOffice or KOffice applications from school). Once again, thx for the input.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Log into Linux Box Over the Internet esi-eric Linux - Security 5 06-10-2005 03:42 PM
log in to linux from windows Box tonan Linux - Newbie 2 09-24-2004 06:55 AM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
how can i log in to my linux box remotly thesoccerking Linux - Newbie 7 05-21-2002 08:03 AM
Can't see linux box running Samba from Windows machine RBLynch Linux - Newbie 2 03-21-2002 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration