[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] ssh: ssh_exchange_identification: Connection closed by remote host



On 23/09/2009, at 11.44, Kristian Nørgaard wrote:

sslug@sslug netstat -a -n | grep LISTEN
tcp        0      0 127.0.0.1:199               0.0.0.0:*     LISTEN
tcp        0      0 0.0.0.0:58731               0.0.0.0:*     LISTEN
tcp        0      0 0.0.0.0:111                 0.0.0.0:*     LISTEN
tcp        0      0 0.0.0.0:49906               0.0.0.0:*     LISTEN
tcp        0      0 0.0.0.0:21                  0.0.0.0:*     LISTEN
tcp        0      0 130.226.142.12:22           0.0.0.0:*     LISTEN
Her ser du tydeligt at sshd ikke lytter til port 22 på localhost, og derfor virker det ikke

Så var det godt at jeg stolede på du var en klog mand og gjorde som du sagde... :-)

Jeg har selv rodet med den slags problemer i forbindelse med linux- vserver virtualisering.


Nu er jeg ikke lige så stærk i forholdet mellem den egentlige IP (130.226.142.12) localhost, 127.0.0.1, hostname osv... - kan du eller andre forklare hvorfor sshd tilsyneladende er sat op, så den lytter specifikt på 130.226.142.12:22 ?

Er det en setting i sshd_config?
Er der nogen fornuftig grund til at køre sshd på denne måde?

Det er sjældent at man ssh'er til localhost.

står der 0.0.0.0 så fanger den alle maskinens ip adresser. Det er vidst default i debian.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-10-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *