problem to ssh into Ubuntu 10.04 server

Asked by wyverndany on 2011-12-01

Hi ,

I'm having a problem trying to set up an ssh connection to my home computer using my laptop.
I have installed ssh-server in the home computer and I tested it using
>> ssh localhost
and it works.

Then I try from my laptop to connect using:

>> ssh [username]@xx.xxx.x.xxx

after this it hangs for a while and then it just times out.
I tried to ping the ip address and it doesn't work.
The ip address I'm using is the one that my home workstation displays.

I know this is probably a very basic problem, but I goggled my way through the common solutions and couldn't find anything that actually worked.
I tried specifying the port the server is hearing as found online but still is failing.

I believe it may be a problem with the internet connection to my home computer but I don't know how to verify it.

Hope someone can help me out here.

Thanks very much

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
2011-12-03
Last reply:
2011-12-03

Are you connecting over the WWW then you will need to configure port forwarding in your router to allow the data through.

wyverndany (wyverndany) said : #2

I live on University residences and I don't have any router in my place. I connect directly.
Is there a way to check port forwarding ??

So you are in the University network connecting to your home PC, is that right?

wyverndany (wyverndany) said : #4

Yes.

Ok and your home PC, do you cpnnect to the web via a broadband router to maybe give wireless?

wyverndany (wyverndany) said : #6

My home is in the same network as my workstation since I live in the university campus.
So i just connect to the web directly with no router of my own.

If they are on the same LAN then you should have zero issue, unless the University guys are blocking all SSH traffic

wyverndany (wyverndany) said : #8

Is there a way to check this ?

Ask the admins, or you may be able to quiz the LAN with nmap but not sure

Can you help with this problem?

Provide an answer of your own, or ask wyverndany for more information if necessary.

To post a message you must log in.