Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-17-2005, 05:46 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9
Rep:
|
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!

|
|
|
10-17-2005, 05:54 AM
|
#2
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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.
|
|
|
10-17-2005, 06:06 AM
|
#3
|
LQ Newbie
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9
Original Poster
Rep:
|
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
|
|
|
10-17-2005, 06:12 AM
|
#4
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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).
|
|
|
10-17-2005, 06:23 AM
|
#5
|
LQ Newbie
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9
Original Poster
Rep:
|
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. 
|
|
|
10-17-2005, 06:56 AM
|
#6
|
Member
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495
Rep:
|
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
|
|
|
10-17-2005, 07:14 AM
|
#7
|
LQ Newbie
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
10-17-2005, 07:33 AM
|
#8
|
Member
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495
Rep:
|
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.
|
|
|
10-17-2005, 07:43 AM
|
#9
|
LQ Newbie
Registered: Oct 2005
Location: Latvia, Daugavpils
Distribution: Debian Etch
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|