5

[ubuntu] Cannot get open ssh server to work properly

view full story
linux-howto

http://ubuntuforums.org – I have been trying to run open ssh server on ubuntu 9.10 (running on an iMac) so I can connect to it from my Windows Vista Laptop. I have installed the openssh server. I went through the guide at https://help.ubuntu.com/community/SS...SH/Configuring I just wanted password authentication, so didn't make any changes to the sshd_config file. Code: $ps -A | grep sshd returns Code: 5603 ?        00:00:00 sshd  5613 ?        00:00:00 sshd  5672 ?        00:00:00 sshd Code: $sudo netstat --inet -lpn | grep sshd returns Code: tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN      5603/sshd By Code: $ssh -v localhost I can successfully connect. But I am not able to connect using my laptop running windows vista. I used a port scanner on the internet, and it says that Code: (MY IP ADDRESS) isn't responding on port 22 (ssh). Code: $sudo iptables -L returns Code: 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        Chain INBOUND (0 references) target    prot opt source              destination        Chain LOG_FILTER (0 references) target    prot opt source              destination        Chain LSI (0 references) target    prot opt source              destination        Chain LSO (0 references) target    prot opt source              destination        Chain OUTBOUND (0 references) target    prot opt source              destination        Chain ufw-after-forward (0 references) target    prot opt source              destination        Chain ufw-after-input (0 references) target    prot opt source              destination        Chain ufw-after-logging-forward (0 references) target    prot opt source              destination        Chain ufw-after-logging-input (0 references) target    prot opt source              destination        Chain ufw-after-logging-output (0 references) target    prot opt source              destination        Chain ufw-after-output (0 references) target    prot opt source              destination        Chain ufw-before-forward (0 references) target    prot opt source              destination        Chain ufw-before-input (0 references) target    prot opt source              destination        Chain ufw-before-logging-forward (0 references) target    prot opt source              destination        Chain ufw-before-logging-input (0 references) target    prot opt source              destination        Chain ufw-before-logging-output (0 references) target    prot opt source              destination        Chain ufw-before-output (0 references) target    prot opt source              destination        Chain ufw-reject-forward (0 references) target    prot opt source              destination        Chain ufw-reject-input (0 references) target    prot opt source              destination        Chain ufw-reject-output (0 references) target    prot opt source              destination        Chain ufw-track-input (0 references) target    prot opt source              destination        Chain ufw-track-output (0 references) target    prot opt source              destination I searched for and tried many suggestions but none of them worked. For example I added a rule to iptables by Code: # iptables -A INPUT -p tcp --dport ssh -j ACCEPT but that didn't help. After trying other things I reset iptables using $sudo iptables -F I am on my university's network, but I don't think the network is doing any blocking since when I boot into OS X instead of Ubuntu and enable remote desktop I am able connect via ssh using my Vista laptop. Any help trying to get this work is appreciated. Sorry for the long explanation of what I have tried. Some of it is probably completely irrelevant. I can't tell though since I don't understand very well this stuff. (HowTos)