[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



Hvad er det for en setting som begrænser ssh login på denne måde?

prøv at køre netstat -a -p -n og se om porten er optaget eller ej

Tak for input, Jon, men jeg forstår ikke helt meningen med forslaget.
Jeg har jo netop fundet ud af at

"ssh localhost" virker IKKE, men
"ssh [COMPUTER2IP]" virker fint
( iøvrigt virker også: ssh `hostname` )

- hvor localhost og COMPUTER2IP er én og samme maskine.
Jeg konkluderer deraf at sshd lytter og fungerer fint nok, men der er en eller anden form for adgangsbegrænsning.

Men for en ordens skyld dumper jeg dele af netstat outputtet her ( jeg har ikke root adgang, så -p giver ikke lige noget ):

sslug@sslug netstat -a -n | grep ssh
unix 2 [ ACC ] STREAM LISTENING 75241876 /tmp/ssh-KKmsJ29387/agent.29387 unix 2 [ ACC ] STREAM LISTENING 40349335 /tmp/ssh-PaJGM20789/agent.20789 unix 2 [ ACC ] STREAM LISTENING 75242700 /tmp/ssh-lvgIZP6934/agent.6934 unix 2 [ ACC ] STREAM LISTENING 75256105 /tmp/ssh-ekfLR32405/agent.32405

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 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN tcp 0 0 :::8000 :::* LISTEN unix 2 [ ACC ] STREAM LISTENING 75241876 /tmp/ssh-KKmsJ29387/agent.29387 unix 2 [ ACC ] STREAM LISTENING 40349335 /tmp/ssh-PaJGM20789/agent.20789 unix 2 [ ACC ] STREAM LISTENING 75242700 /tmp/ssh-lvgIZP6934/agent.6934 unix 2 [ ACC ] STREAM LISTENING 75256105 /tmp/ssh-ekfLR32405/agent.32405 unix 2 [ ACC ] STREAM LISTENING 3542 /var/run/rpcbind.sock unix 2 [ ACC ] STREAM LISTENING 3736 /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 85159252 /var/run/nscd/socket unix 2 [ ACC ] STREAM LISTENING 3836 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 4167 @/var/run/hald/dbus-Dxb28hRolT unix 2 [ ACC ] STREAM LISTENING 4100 /var/run/avahi-daemon/socket unix 2 [ ACC ] STREAM LISTENING 4170 @/var/run/hald/dbus-NsJdU3ruVL

 
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] *