Temat: Co robie nie tak. SSH z zewnatrz nie działa
mam ustawione port zewnatrzny 22 ale nie dziala mi (mam zmienne ip.) jak zobaczyc sprawdzic dlaczego moze mi nie dzialac mozliwosc zalogowania sie?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Co robie nie tak. SSH z zewnatrz nie działa
Strony 1
Zaloguj się lub zarejestruj by napisać odpowiedź
mam ustawione port zewnatrzny 22 ale nie dziala mi (mam zmienne ip.) jak zobaczyc sprawdzic dlaczego moze mi nie dzialac mozliwosc zalogowania sie?
Włączyłeś (zaznaczyłeś) opcję "Włącz zdalny dostęp SSH" ? Jeśli chcesz się logować z zewnątrz to musisz wpisać adres jaki masz nadany i port czyli np. 23.46.12.345:22 <<< to tylko przykład nie kopiować
Po wewnętrznym ssh będzie odpowiednio: 192.168.1.1:22 lub 192.168.0.1:22 zależne od ustawień serwera dhcp.
przede wszystkim sprawdź czy masz ip publiczny (w co wątpię). Odpal na maszynie podpiętej do innego łącza:
start->uruchom: cmd i tam
ping [adres ip na jaki chcesz się połączyć]
przede wszystkim sprawdź czy masz ip publiczny (w co wątpię). Odpal na maszynie podpiętej do innego łącza:
start->uruchom: cmd i tam
ping [adres ip na jaki chcesz się połączyć]
zewnetrzn ip mam bo to modem aero. mam tez dyndns, ale to nieistotne. oczywiscie opcje zaznaczylem zdalnego logowania.
Nawet napisalem, ze na porcie 22 (by nie zmieniac do testow).
Gdzie jeszcze mozna to znależć.
samoping nie dziala bo ma nie dzialac, za to moge sie polaczyc po https z samym routerem. Jakis jeszcze pomysły?
Nie możesz się dostać przez aero2, to jest istotnie. Tyle razy było i wszędzie jest to napisane - każdy operator komórkowy blokuje ruch przychodzący więc - nie da się.
Niektóry odpłatnie to umożliwiają w niektórych planach abonamentowych. Aero2 nie z definicji.
przypinam się do watku. Jak wykonać połączenie SSH ?
Otworzyłem port 22 na routerze do logowania przez SSH, następnie uruchomiłem Putty
wykonałem wpisy wg.
http://www.dobreprogramy.pl/parranoya/O … 39273.html
ustawiłem przeglądarkę również wg. powyższego opisu - połączenie ssh nie działa.
Pytanie :
1. co wykonuje jako pierwsze, loguje się przez pytty przez ssh
2. odpalam przeglądarkę z ustawionymi portami - jak to ma funkcjonować, nie rozumiem zasady działania
3. (oczywiście OpenVPN funkcjonuje (nie widzi mi tylko urządzeń sieci lokalnej, - może powinienem ustawić sieć za komputerem tak jak ma router sieć czyli 192.168.105.1 - a wpracy OpenVPN nie zadziała bo nie mogę OpenVPN zainstalować nie mam praw admina)
W sumie to nie do końca rozumiem w czym masz problem ?
Proponuje w pierwszym kroku zweryfikowac ze ssh działa.
Tzn zobacz czy mozesz sie polaczyc przez putty do routera bo z tego co widze temat powstal jak ktos nie mogł sie podlaczyc ? Bo jak nie mozesz sie polaczyc to tez zadne tunelowanie nie zadziala.
połączenie ssh działa, loguje sie na router przez putty.
Kolejny test jaki mozesz zrobic to sporawdz polaczc sie na port localhost:9999 przez telnet i zobacz czy taki port jest jest otwarty ?
Jak chodzi o tunelowanie to nie wiem na ile działa to na dropbear, z tego co pamietam sam mialem klopoty z dropbearem przy port gateway i zamienilem go na open-ssh server,
http://wiki.openwrt.org/inbox/replacing … nsshserver
Kolejna rzecz to spróbuj z opcja option GatewayPorts = 1
w /etc/config/dropbear
http://wiki.openwrt.org/doc/uci/dropbear
ok na drugi dzień w pracy połączenie ssh przez putty zadziałało.
1. Czy połączenie w ten sposób jest szyfrowane ?
2. W logu chyba pojawiały mi się próby włamania po otwarciu portu 22 , dobrze to odczytałem ?
Mar 19 18:15:56 dropbear[23042]: Child connection from 61.174.51.203:3569
Mar 19 18:16:06 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:07 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:08 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:09 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:09 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:10 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:11 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:11 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:12 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:13 dropbear[23042]: Bad password attempt for 'root' from 61.174.51.203:3569
Mar 19 18:16:13 dropbear[23042]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:3569
Mar 19 18:16:14 dropbear[23043]: Child connection from 61.174.51.203:1228
Mar 19 18:16:16 dropbear[23044]: Child connection from 61.174.51.203:3088
Mar 19 18:16:18 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:19 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:19 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:20 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:20 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:23 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:23 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:25 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:26 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:27 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:28 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:30 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:31 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:31 dropbear[23043]: Bad password attempt for 'root' from 61.174.51.203:1228
Mar 19 18:16:32 dropbear[23043]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:1228
Mar 19 18:16:32 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:32 dropbear[23045]: Child connection from 61.174.51.203:4291
Mar 19 18:16:33 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:33 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:34 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:35 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:35 dropbear[23044]: Bad password attempt for 'root' from 61.174.51.203:3088
Mar 19 18:16:36 dropbear[23044]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:3088
Mar 19 18:16:36 dropbear[23046]: Child connection from 61.174.51.203:2695
Mar 19 18:16:36 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:37 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:38 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:38 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:39 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:40 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:40 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:41 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:41 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:41 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:42 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:42 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:42 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:43 dropbear[23045]: Bad password attempt for 'root' from 61.174.51.203:4291
Mar 19 18:16:43 dropbear[23045]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:4291
Mar 19 18:16:43 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:44 dropbear[23047]: Child connection from 61.174.51.203:2945
Mar 19 18:16:44 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:45 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:45 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:46 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:47 dropbear[23046]: Bad password attempt for 'root' from 61.174.51.203:2695
Mar 19 18:16:47 dropbear[23046]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:2695
Mar 19 18:16:48 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:48 dropbear[23048]: Child connection from 61.174.51.203:1529
Mar 19 18:16:48 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:49 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:50 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:51 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:51 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:52 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:52 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:52 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:53 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:53 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:53 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:54 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:54 dropbear[23047]: Bad password attempt for 'root' from 61.174.51.203:2945
Mar 19 18:16:54 dropbear[23047]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:2945
Mar 19 18:16:54 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:55 dropbear[23049]: Child connection from 61.174.51.203:2426
Mar 19 18:16:55 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:56 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:56 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:57 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:58 dropbear[23048]: Bad password attempt for 'root' from 61.174.51.203:1529
Mar 19 18:16:58 dropbear[23048]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:1529
Mar 19 18:16:59 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:00 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:00 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:01 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:02 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:03 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:03 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:04 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:05 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:05 dropbear[23049]: Bad password attempt for 'root' from 61.174.51.203:2426
Mar 19 18:17:06 dropbear[23049]: Exit before auth (user 'root', 10 fails): Max auth tries reached - user 'root' from 61.174.51.203:2426
Mar 19 18:17:18 ddns_gargoyle[2513]: Successfully retrieved local ip from url:
czy można ew. jakoś to zablokować ?
Przenieś ssh na inny port, bo w ten sposób pół świata, neostradę i jeszcze kilku chińczyków musiał byś wyblokować.
czyli na jaki inny ?
zamiast 22 na np. 2124
Strony 1
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Co robie nie tak. SSH z zewnatrz nie działa
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc