![]() |
Błąd połączenia ssh - Wersja do druku +- Forum Informatyczne WebElite.pl (https://www.webelite.pl) +-- Dział: # Systemy Operacyjne (https://www.webelite.pl/forumdisplay.php?fid=8) +--- Dział: Linux | Mac OS/OSX (https://www.webelite.pl/forumdisplay.php?fid=32) +--- Wątek: Błąd połączenia ssh (/showthread.php?tid=3753) |
Błąd połączenia ssh - abckte - 26-10-2013 Mam na obu komputerach linux mint 15 z zainstalowanymi serwerami ssh ale kiedy próbuje się połączyć wywala mi taki błąd: Connection closed by [ip lokalne tego kompa] co mam zrobić aby można było się łączyć z tym komputerem. RE: Błąd połączenia ssh - Vinci - 29-10-2013 Być może na komputerze utworzyłeś sobie nowy klucz, a na zdalnej maszynie jest jeszcze stary. Wtedy trzeba wyedyować plik /root/.ssh/known_hosts Jeśli to nie pomoże sprawdź /etc/hosts.deny oraz /etc/hosts.allow czy czasem tam nie blokuje. RE: Błąd połączenia ssh - abckte - 29-10-2013 nie mam takiego folderu /root/.ssh/ /etc/hosts.deny wygląda tak: # /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example: ALL: some.host.name, .some.domain # ALL EXCEPT in.fingerd: other.host.name, .other.domain # # If you're going to protect the portmapper use the name "portmap" for the # daemon name. Remember that you can only use the keyword "ALL" and IP # addresses (NOT host or domain names) for the portmapper, as well as for # rpc.mountd (the NFS mount daemon). See portmap( ![]() ![]() # for further information. # # The PARANOID wildcard matches any host whose name does not match its # address. # # You may wish to enable this to ensure any programs that don't # validate looked up hostnames still leave understandable logs. In past # versions of Debian this has been the default. # ALL: PARANOID a /etc/hosts.allow tak: # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example: ALL: LOCAL @some_netgroup # ALL: .foobar.edu EXCEPT terminalserver.foobar.edu # # If you're going to protect the portmapper use the name "portmap" for the # daemon name. Remember that you can only use the keyword "ALL" and IP # addresses (NOT host or domain names) for the portmapper, as well as for # rpc.mountd (the NFS mount daemon). See portmap( ![]() ![]() # for further information. # chyba wszystko jest dobrze i sprawdziłem czy to tylko mój komputer tak ma i każdy komputer z mintem w mojej szkole nie może być obsługiwany przez ssh jak zrobić aby zadziałało ? RE: Błąd połączenia ssh - Vinci - 30-10-2013 Spróbuj przeinstalować Kod: apt-get purge ssh Kod: apt-get install ssh Może w konfiguracji szkolnej sieci są zablokowane takie połączenia. |