αρνηση συνδεσης SSH

stefanos90 | Κυρ, 01/27/2013 - 00:35 | 3' | 1

Καλησπέρα. έχω έναν server σε VirtualBox. Ubuntu 10.04.

Εγκατέστησα το openSSH, ανοιξα πορτα στο ρουτερ, κανονικα.
Τοπικά μπορώ να συνδεθώ κανονικά. Απο έξω όμως δεν μ αφήνει, λέει λάθος κωδικός. Ο κωδικός που βάζω είναι σωστός. Τι μου ξεφεύγει?
Δεν ξέρω τι μπορεί να φταίει. Καμιά ιδέα?

συνδέομαι με
stefanos@***.***.***.***

και το αποτέλεσμα απο εξω είναι

ssh stefanos@***.***.***.***
stefanos@***.***.***.***'s password: 
Permission denied, please try again.
stefanos@***.***.***.***s password: 
Permission denied, please try again.
stefanos@***.***.***.***'s password: 
Permission denied (publickey,password).


και με -v βλέπω οτι όλα σωστα ειναι, βλέπω κατι λαθος? 
 
stefanos@machine:~$ ssh [email protected]
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 
Permission denied (publickey,password).
stefanos@machine:~$ ssh -v [email protected]
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 46.12.211.243 [46.12.211.243] port 22.
debug1: Connection established.
debug1: identity file /home/stefanos/.ssh/identity type -1
debug1: identity file /home/stefanos/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/stefanos/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version dropbear_0.46
debug1: no match: dropbear_0.46
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '46.12.211.243' is known and matches the RSA host key.
debug1: Found key in /home/stefanos/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/stefanos/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/stefanos/.ssh/identity
debug1: Trying private key: /home/stefanos/.ssh/id_dsa
debug1: Next authentication method: password


debug1: Connecting to 46.12.211.243 [46.12.211.243] port 22.
debug1: Connection established. 

άρα αποκλείουμε το να έχω ανοιξει λαθος πορτα
 

Φόρουμ
Δώσε αστέρια!

MO: (ψήφοι: 0)

Σχόλια

Καλησπερα,

κανε το εξεις σαν root:

cat -n /etc/ssh/sshd_config |grep -v \#

και κανε paste τα αποτελεσματα εδω