I'm unable to ssh from a particular machine, either from my Ubuntu 12.04 install or my Windows Vista install (using putty). I'm trying to ssh into a remote machine where I have an account, but I keep getting a connection refused error. However, from another computer in my office using the same setup, I can connect just fineHere is the ouput of dig sun.chpc.ac.za:; <<>> DiG 9.8.1-P1 <<>> sun.chpc.ac.za;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55409;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0;; QUESTION SECTION:;sun.chpc.ac.za. IN A;; ANSWER SECTION:sun.chpc.ac.za. 2598 IN A 196.24.44.62;; Query time: 1 msec;; SERVER: 127.0.0.1#53(127.0.0.1);; WHEN: Tue Oct 30 21:40:35 2012;; MSG SIZE rcvd: 48nslookup sun.chpc.ac.za Server: 127.0.0.1 Address: 127.0.0.1#53Non-authoritative answer: Name: sun.chpc.ac.za Address: 196.24.44.62I stopped the Firewire and tried to ssh, but it still said connection refusedWhen I run nmap sun.chpc.ac.za:Starting Nmap 5.21 ( http://nmap.org ) at 2012-10-30 22:24 SAST Nmap scan report for sun.chpc.ac.za (196.24.44.62) Host is up (0.0044s latency). Not shown: 998 closed ports PORT STATE SERVICE 1863/tcp filtered msnp 2000/tcp filtered cisco-sccpNmap done: 1 IP address (1 host up) scanned in 2.81 secondsHere is the output of the coommand: ssh -vvv user@sun.chpc.ac.zaOpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for *debug2: ssh_connect: needpriv 0debug1: Connecting to sun.chpc.ac.za [196.24.44.62] port 22.debug1: connect to address 196.24.44.62 port 22: Connection refusedssh: connect to host sun.chpc.ac.za port 22: Connection refusedHere is the ipconfig output of the Windows computer that can connect:Windows IP ConfigurationEthernet adapter Local Area Connection:   Connection-specific DNS Suffix  . :   Link-local IPv6 Address . . . . . : fe80::f988:68a0:c432:d37c%11   IPv4 Address. . . . . . . . . . . : 172.20.15.51   Subnet Mask . . . . . . . . . . . : 255.255.255.0   Default Gateway . . . . . . . . . : 172.20.15.254Tunnel adapter Teredo Tunneling Pseudo-Interface:   Connection-specific DNS Suffix  . :   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:3403:122f:53eb:f0cc   Link-local IPv6 Address . . . . . : fe80::3403:122f:53eb:f0cc%12   Default Gateway . . . . . . . . . : ::Tunnel adapter isatap.{C3E90CF9-5991-4463-AC91-A1497807E5D6}:   Media State . . . . . . . . . . . : Media disconnected   Connection-specific DNS Suffix  . :Using the same cable, here is the ifconfig output of my Linux laptop that can not connect:eth0      Link encap:Ethernet  HWaddr 00:14:0b:3f:b9:4c        UP BROADCAST MULTICAST  MTU:1500  Metric:1      RX packets:135737 errors:0 dropped:0 overruns:0 frame:0      TX packets:111352 errors:0 dropped:0 overruns:0 carrier:0      collisions:0 txqueuelen:1000       RX bytes:155954649 (155.9 MB)  TX bytes:10990034 (10.9 MB)      Interrupt:17 lo        Link encap:Local Loopback        inet addr:127.0.0.1  Mask:255.0.0.0      inet6 addr: ::1/128 Scope:Host      UP LOOPBACK RUNNING  MTU:16436  Metric:1      RX packets:25939 errors:0 dropped:0 overruns:0 frame:0      TX packets:25939 errors:0 dropped:0 overruns:0 carrier:0      collisions:0 txqueuelen:0       RX bytes:2034277 (2.0 MB)  TX bytes:2034277 (2.0 MB)wlan0     Link encap:Ethernet  HWaddr 00:13:e8:f8:0e:af        inet addr:172.1.2.33  Bcast:172.1.255.255  Mask:255.255.0.0      inet6 addr: fe80::213:e8ff:fef8:eaf/64 Scope:Link      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1      RX packets:1885246 errors:0 dropped:0 overruns:0 frame:0      TX packets:196008 errors:0 dropped:0 overruns:0 carrier:0      collisions:0 txqueuelen:1000       RX bytes:430638332 (430.6 MB)  TX bytes:36583180 (36.5 MB)The output of tcptraceroute sun.chpc.ac.za  22 is:Selected device eth0, address 172.20.15.35, port 51859 for outgoing packetsTracing the path to sun.chpc.ac.za (196.24.44.62) on TCP port 22 (ssh), 30 hops max 1  172.20.15.254  0.494 ms  0.431 ms  0.354 ms 2  * * * 3  196.24.44.62 [closed]  0.323 ms  0.326 ms  0.312 ms
Unable to ssh out from my laptop
ubuntu;ssh