open ssh connection

John G. Heim jheim at
Thu Jan 12 17:37:57 UTC 2012

I would use nmap to do a port scan of the host. You can diagnose firewall 
issues very easily by doing an nmap on the IP address of the machine from 
another machine and then from the machine itself. Any differences in the 
results are probably due to a firewall.

In other words, if nmap shows that port 22 is open when you run nmap on the 
machine itself but nmap shows port 22 is filtered when you run it from 
another machine, that is probably the firewall.

Another thing you can do is use the -v option to ssh.

$ ssh -v <yourhostname>

That will show you want ssh is doing and if it cannot connect, it will say 

----- Original Message ----- 
From: "Kristoffer Gustafsson" <kg84 at>
To: "Linux for blind general discussion" <blinux-list at>
Sent: Thursday, January 12, 2012 9:34 AM
Subject: Re: open ssh connection

That doesn't work either, maybe you can't access a virtual machine like 
  ----- Original Message ----- 
  From: mattias
  To: 'Linux for blind general discussion'
  Sent: Thursday, January 12, 2012 10:09 AM
  Subject: SV: open ssh connection

  iptables -F
  in debian
    -----Ursprungligt meddelande-----
    Från: blinux-list-bounces at 
[mailto:blinux-list-bounces at] För Kristoffer Gustafsson
    Skickat: den 12 januari 2012 02:40
    Till: Linux for blind general discussion
    Ämne: open ssh connection

    I'm trying to make an  open ssh connection in order to access linux from 
my windows machine.
    I can connect to the machine inside linux using localhost.
    But when I try this in windows using putty, it doesn't work.
    What can be wrong? can this be some firewall blocking this?
    If so, how do I fix it?
    I'm using debian.


  Blinux-list mailing list
  Blinux-list at


> _______________________________________________
> Blinux-list mailing list
> Blinux-list at

More information about the Blinux-list mailing list