Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new using Linux, so I would really appreciate a simple as possible answer.

I cannot ping between two computers, neither to nor from. I can ssh from one computer to another, but not the other way around.

I would be very grateful if I can get some direction as to what I might have to do in order to fix this.

The computer to which I cannot connect is Ubuntu 10.4 with wireless Internet (but I can connect to other from it), while the other one is a Mac OS.

Thanks a lot in advance.

share|improve this question
Can you use the 'edit' link to add a short description of how each computer is connected to the internet (e.g., wireless router, etc) – Huckle Feb 21 '12 at 2:27
Please provide more info on your situation. What OS's are you running on each machine? Are you connected through wireless or do you have a wired connection or both? Are you machines connected through a router, access point, switch? – Scott Stookey Feb 21 '12 at 2:50
From one computer, run traceroute -n where is the IP address of the other computer. This will reveal your IP address. If that really bothers you, consistently munge the numbers, leaving anything that begins with 192.168. or 172.16. or 10. alone (they're private addresses). – Gilles Feb 21 '12 at 22:32

If you want to use ssh in both ways, you have to install the package openssh-server on both computers, to handle incoming ssh requests. This can be installed via the Ubuntu Software Center or using the command line:

sudo apt-get install openssh-server
share|improve this answer
Thank you very much. I installed it, but I still can't ssh. I get the following message: ssh: connect to host port 22: Operation timed out – user47305 Feb 21 '12 at 2:04
check the firewall in the one u cant do the ssh: and check if the service is runing service ssh status / start – maniat1k Feb 21 '12 at 2:37
Ok, I disabled my firewall, and when checking if my service is running I got status: Env must be KEY=VALUE pairs. I'm trying to figure out what that means... – user47305 Feb 21 '12 at 3:19
plz update ur question , about pinging – One Zero Feb 21 '12 at 3:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.