Strona 1 z 1
Serwer nie odpowiada
: 20 kwietnia 2010, 08:04
autor: klito
Witam.
Mam problem z serwerem VPS, który dzisiaj o 7:50 przestał kontaktować przez SSH. Jednak po wpisaniu IP, pojawia się strona webserwera. Nie mam panelu aby serwer restartować bo to u kumpla, a kumpel dziś wyjechał na tydzień. Jest możliwość dostanie się do niego (serwera).
195.2.255.32
Ftp działa, czyżby ktoś zmienił mi port ssh?
: 20 kwietnia 2010, 08:08
autor: xmaster
1. popraw błędy ortograficzne
2. FTP działa
3. SSH odrzuca połączenia - ale pewnie port jest zmieniony
4. PING do serwera dochodzi
Czego chcieć więcej?
: 20 kwietnia 2010, 15:12
autor: Bastian
Znaczy się, po ftp ma zmienić sshd.conf? Skąd wiesz, że przez ftp ma dostęp do /etc?
: 20 kwietnia 2010, 18:06
autor: larry2003
Port na jakim odpowiada ci serwer ssh to: 41793, pewnie ktoś uprzejmy ci to zmienił.
: 21 kwietnia 2010, 10:17
autor: Bastian
larry2003 pisze:Port na jakim odpowiada ci serwer ssh to: 41793, pewnie ktoś uprzejmy ci to zmienił.
jak to sprawdziłes ?
: 21 kwietnia 2010, 11:31
autor: larry2003
ja użyłem do tego akurat windowsowego advanced port scanner ale w zasadzie możesz użyć do tego dowolnego skanera portów.
: 21 kwietnia 2010, 12:29
autor: ryba84
larry2003 pisze:ja użyłem do tego akurat windowsowego advanced port scanner ale w zasadzie możesz użyć do tego dowolnego skanera portów.
Np. nmap
: 21 kwietnia 2010, 14:39
autor: Bastian
Pytałem własnie dlatego, że Nmap nie podawał portów dla ssh:
Kod: Zaznacz cały
Starting Nmap 4.62 ( http://nmap.org ) at 2010-04-21 14:36 CEST
Initiating Ping Scan at 14:36
Scanning 195.2.255.32 [1 port]
Completed Ping Scan at 14:36, 0.05s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 14:36
Completed Parallel DNS resolution of 1 host. at 14:36, 0.19s elapsed
Initiating Connect Scan at 14:36
Scanning 195.2.255.32 [1715 ports]
Increasing send delay for 195.2.255.32 from 0 to 5 due to 44 out of 146 dropped probes since last increase.
Increasing send delay for 195.2.255.32 from 5 to 10 due to max_successful_tryno increase to 4
Increasing send delay for 195.2.255.32 from 10 to 20 due to max_successful_tryno increase to 5
Discovered open port 21/tcp on 195.2.255.32
Connect Scan Timing: About 46.97% done; ETC: 14:37 (0:00:33 remaining)
Completed Connect Scan at 14:37, 51.45s elapsed (1715 total ports)
Initiating Service scan at 14:37
Scanning 1 service on 195.2.255.32
Completed Service scan at 14:37, 0.10s elapsed (1 service on 1 host)
SCRIPT ENGINE: Initiating script scanning.
LUA INTERPRETER in nse_init.cc:763: /usr/share/nmap/scripts/robots.nse:4: module 'http' not found:
no field package.preload['http']
no file '/usr/share/nmap/nselib/http.lua'
no file './http.lua'
no file '/usr/local/share/lua/5.1/http.lua'
no file '/usr/local/share/lua/5.1/http/init.lua'
no file '/usr/local/lib/lua/5.1/http.lua'
no file '/usr/local/lib/lua/5.1/http/init.lua'
no file '/usr/lib/nmap/nselib-bin/http.so'
no file './http.so'
no file '/usr/local/lib/lua/5.1/http.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
SCRIPT ENGINE: Aborting script scan.
Host 195.2.255.32 appears to be up ... good.
Interesting ports on 195.2.255.32:
Not shown: 1713 closed ports
PORT STATE SERVICE VERSION
21/tcp open ftp ProFTPD 1.3.1
1521/tcp filtered oracle
Service Info: OS: Unix
Read data files from: /usr/share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 51.884 seconds
Ale chyba kolega cuś kombinuje na tym serwerze bo wcześniej widzialem jeszcze http na 80 a teraz już nie ma. Pewnie wczesniej i ssh byl widoczny