Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to connect the computers on my home wifi network via SSH. But I get "connection refused". Here is a supporting image (ip address changed for security purposes). enter image description here

Why is it refusing the connection? The username and password for the other machine are the admin account.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

One other note you should really take .. change the port 22, we get drive by,s that try and log in to port 22, some other people will do a full port scan to find your ssh port, but by changing the port it knocks a few hackers straight out. you can do this in..

/etc/ssh/sshd_config

Also after you get the key working turn off PermitRootlogin no.

share|improve this answer
add comment

The SSH server is not installed by default.

Make sure that is installed first

sudo apt-get install openssh-server

If it still doesn't work check the following:

  1. Can you ping the computer you're connecting to?
  2. Are there any IPTables rules loaded? (sudo iptables -L)
  3. There may be an option on the wifi router to prevent clients from seeing each other. Called wireless client isolation. Turn it off if enabled.
share|improve this answer
    
hi @matt H well, i am able to ping the computer no problem. here is the output from the iptables command: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination As for the router having wireless client isolation, I dont know. How do I check that? –  LinuxPCplus Nov 21 '12 at 23:10
    
By pinging it. Sounds like that's not the problem. Did you check that openssh-server is installed? –  Matt H Nov 28 '12 at 21:22
add comment

Your Answer

 
discard

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.