Thread Eigene ssh_config in Net::SFTP verwenden (6 answers)
Opened by Gast at 2009-01-30 13:33

Gast Gast
 2009-02-04 09:58
#118633 #118633
Die Verbindung über SSH scheint jetzt zu funktionieren, zumindest bekomme ich bei

Code: (dl )
1
2
print ssh->sock();
print ssh->session_id();


einen Rückgabewert.


Bei Net:SFTP klappt es leider noch nicht, da werden die Konfigurationen wohl in der falschen Reihenfolge gezogen:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
adeccmas: Reading configuration data /home/jz/.ssh/config
adeccmas: Reading configuration data /etc/ssh_config
adeccmas: Connecting to 1.1.1.1, port 22.
adeccmas: Remote protocol version 2.0, remote software version OpenSSH_5.0
adeccmas: Net::SSH::Perl Version 1.32, protocol version 2.0.
adeccmas: No compat match: OpenSSH_5.0.
adeccmas: Connection established.
adeccmas: Sent key-exchange init (KEXINIT), wait response.
adeccmas: Algorithms, c->s: blowfish-cbc hmac-sha1 none
adeccmas: Algorithms, s->c: blowfish-cbc hmac-sha1 none
adeccmas: Entering Diffie-Hellman Group 1 key exchange.
adeccmas: Sent DH public key, waiting for reply.
adeccmas: Received host key, type 'ssh-dss'.
adeccmas: Permanently added '1.1.1.1' to the list of known hosts.
Can't write to /etc/ssh_known_hosts: Permission denied at /usr/local/perl/5.8.6/lib/site_perl/5.8.6/Net/SSH/Perl.pm line 372


Hast du da evtl. noch einen Rat?

View full thread Eigene ssh_config in Net::SFTP verwenden