Thread Probleme bei Authentifizierung über Net::SSH2 - PW - geschützte PublicKey (46 answers)
Opened by YAPD at 2015-09-20 18:21

YAPD
 2015-09-20 21:23
#182296 #182296
User since
2015-09-20
146 Artikel
BenutzerIn

user image
Hi Gwen,

das ist das, was das Debug bei der Authentifizierung meines Scripts
sagt :

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: client->server aes128-ctr hmac-sha1 none [preauth]
debug1: kex: server->client aes128-ctr hmac-sha1 none [preauth]
debug1: expecting SSH2_MSG_KEXDH_INIT [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user root service ssh-connection method publickey [preauth]
debug1: attempt 0 failures 0 [preauth]
debug1: test whether pkalg/pkblob are acceptable [preauth]
debug1: PAM: initializing for "root"
debug1: PAM: setting PAM_RHOST to "hostname"
debug1: PAM: setting PAM_TTY to "ssh"
debug1: temporarily_use_uid: 0/0 (e=0/0)
debug1: trying public key file /root/.ssh/authorized_keys
debug1: fd 4 clearing O_NONBLOCK
debug1: matching key found: file /root/.ssh/authorized_keys, line 1 RSA 80:b6:e0:3c:63:fc:0a:10:ce:da:e5:fe:b7:a5:2c:ff
debug1: restore_uid: 0/0
Postponed publickey for root from hostname port 41772 ssh2 [preauth]
Connection closed by hostname [preauth]

Last edited: 2015-09-20 21:25:34 +0200 (CEST)
Yet Another Perl Developer

View full thread Probleme bei Authentifizierung über Net::SSH2 - PW - geschützte PublicKey