LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-17-2005, 05:46 AM   #1
SuSERNuke
LQ Newbie
 
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9

Rep: Reputation: 0
Remote connection from college to home


Good morning!
I'm completely new to Linux.
I would like to connect from college library to my home desktop.
It's very convenient thing to do, especially when you forget your work at home
Please, explain me how to do it, and if it all possible one single example would be fantactic.
I use at home OPENSUSE 10.0. and college library uses SuSE 9.3
Thank you!
 
Old 10-17-2005, 05:54 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
If you just need to access the terminal, you cah use SSH ("ssh user@hostname"). You can even use X apps if you enable X forwarding ("ssh -Y ...").

If you need to access the desktop environment and all that, you can use VNC. I think Suse comes with some implementations of VNC for you to choose from (RealVNC & TightVNC). You should have the VNC server running at your home computer and connect to it using the VNC client.
 
Old 10-17-2005, 06:06 AM   #3
SuSERNuke
LQ Newbie
 
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you, spoon!
I have no need to run x. I need only to access my home folder at home desktop computer.
So, bluntly put i open terminal at school and just type
$ssh susermil@linux
Is that correct? My home computer's regular user is "susermil". And folder I need to access is at
/home/susermil/My stuff
 
Old 10-17-2005, 06:12 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Yes, assuming your computer's hostname is "linux" (or "linux.whatever.edu"); if you can't find your hostname you can also use your IP address. Also, you may need to make sure that the SSH server is running on your home computer (which it most likely is).
 
Old 10-17-2005, 06:23 AM   #5
SuSERNuke
LQ Newbie
 
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by spooon
Yes, assuming your computer's hostname is "linux" (or "linux.whatever.edu"); if you can't find your hostname you can also use your IP address. Also, you may need to make sure that the SSH server is running on your home computer (which it most likely is).
Thank you
1. How to check if ssh is running and ready
2. If it is then just #ssh 00.00.000.000 ? Correct?
3. What is somebody else has such hostname? That hostname is a default in SuSE.
 
Old 10-17-2005, 06:56 AM   #6
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
You need to open the ssh port (22) in your firewall (computer and/or router and/or whatever connects to the net. In my case a DSL modem. Be sure to have a very secure password so no one else can get in. Set sshd to NOT allow root login and only use Protocol 2.

If you have a static ip, use it.

If you have a dynamic ip, go to dyndns.org or something like it and setup a host name. You also need to get ddclient that runs and updates your current ip to your hostname. For sake of simplicity, set your computer's hostname the same as your dyndns.org hostname as; cooldude.dyndns.org. Then you can ssh regardless of the ip by using ssh user@cooldude.dyndns.org
 
Old 10-17-2005, 07:14 AM   #7
SuSERNuke
LQ Newbie
 
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9

Original Poster
Rep: Reputation: 0
I'm connected at home and college via DHCP.
Once again, am I right in doing so?:
Code:
ssh susermil@00.00.000.000
Zeros, of course, represent my home IP, which I do not know yet.
 
Old 10-17-2005, 07:33 AM   #8
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Since I don't know exactly what you have at home and not sure your do either, on your home computer go here http://www.checkmyip.com/ every few hours and see if that changes or stays the same.

" am I right in doing so?:"
I don't know, have you tried it?

Last edited by -X-; 10-17-2005 at 07:34 AM.
 
Old 10-17-2005, 07:43 AM   #9
SuSERNuke
LQ Newbie
 
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by -X-
I don't know, have you tried it?
Sorry if I'm being unclear. I just wanted to know if syntax is correct.
 
  


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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 01:21 AM
Remote home desktop bbmak Linux - Software 12 05-24-2005 03:15 AM
PPTP VPN remote connection from home powah Linux - Networking 0 05-02-2005 10:10 PM
How to print at home from Linux server at college ekern Linux - Newbie 3 11-17-2004 09:12 PM
Home Entertainment Learning Remote ryancherry Linux - Hardware 0 07-30-2004 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:35 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