open ssh connection

John G. Heim jheim at math.wisc.edu
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 
why.


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


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


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


    Hi.
    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.
    /Kristoffer


------------------------------------------------------------------------------


  _______________________________________________
  Blinux-list mailing list
  Blinux-list at redhat.com
  https://www.redhat.com/mailman/listinfo/blinux-list


--------------------------------------------------------------------------------


> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list 




More information about the Blinux-list mailing list