Hi,
die Sache ist etwas komplizierter. Einen Keyexchange und über RSA möchte ich anhand der vielen Rechner nicht machen. Egal, nun zu meinem vorherigem Problem. Wenn ich den Debugmodus einschalte, erhalte ich folgende Meldung:
Code:
linux: Reading configuration data /root/.ssh/config
linux: Reading configuration data /etc/ssh_config
linux: Allocated local port 1023.
linux: Connecting to 192.168.120.200, port 22.
linux: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 Debian-5
linux: Net::SSH::Perl Version 1.29, protocol version 2.0.
linux: No compat match: OpenSSH_4.2p1 Debian-5.
linux: Connection established.
linux: Sent key-exchange init (KEXINIT), wait response.
linux: Algorithms, c->s: 3des-cbc hmac-sha1 none
linux: Algorithms, s->c: 3des-cbc hmac-sha1 none
linux: Entering Diffie-Hellman Group 1 key exchange.
linux: Sent DH public key, waiting for reply.
linux: Received host key, type 'ssh-dss'.
linux: Host '192.168.120.200' is known and matches the host key.
linux: Computing shared secret key.
linux: Verifying server signature.
linux: Waiting for NEWKEYS message.
linux: Enabling incoming encryption/MAC/compression.
linux: Send NEWKEYS, enable outgoing encryption/MAC/compression.
linux: Sending request for user-authentication service.
linux: Service accepted: ssh-userauth.
linux: Trying empty user-authentication request.
linux: Authentication methods that can continue: publickey,keyboard-interactive.
linux: Next method to try is publickey.
Permission denied at ./login.pl line 12
Im Net::SSH::Perl gibt es ein schönes Beispiel (cmd.pl). Das funktioniert auch nicht. Bleibt auch bei login hängen. Muss man vor Verwendung irgendwas am SSHD ändern?
oafish
Lesezeichen