I wanted to add some more details: When i use this skript: my $supported = Net::SSH::Perl::Cipher::supported(); for my $cipher (sort @$supported) { printf " [%d] %s\n", $ciph, Net::SSH::Perl::Cipher::name($cipher); }
I get only [5] RC4 as a result. So maybe thats why i always get that not supported cipher type message when trying to use des or 3des. Where could i change or add the supported cipher types? And still makes me wonder as the shell ssh command works fine and all cipher types are supported. Am i missing a module? Furthermore i wanted to add the debug output: server: Reading configuration data /root/.ssh/config server: Reading configuration data /etc/ssh_config server: Allocated local port 1023. server: Connecting to 192.168.30.4, port 22. server: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 server: Net::SSH::Perl Version 1.23, protocol version 1.5. server: No compat match: OpenSSH_3.5p1. server: Connection established. server: Waiting for server public key. server: Received server public key (768 bits) and host key (1024 bits). server: Host '192.168.30.4' is known and matches the host key. Selected cipher type des not supported by server. at ./test.pl line 14 Thanks -bb -----Ursprüngliche Nachricht----- Von: Björn Brombach [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 17. August 2003 18:22 An: perl Betreff: SSH Problem Hi, I have installed SuSE 8.2, perl-Net-SSH-Perl-1.23, String-CRC32-1.2. I am trying to make an SSH connection to a remote SuSe 8.2 computer. And the perl skript is where i am having the problem. Trying to use it produces the following error: "selected cipher type DES not supported by server." I tried 3DES as well, same error. This is what i used: # !/usr/bin/perl use Net::SSH::Perl; $host="host"; $passwd="passwd"; $user="user"; my $ssh=Met::SSH::Perl->new($host); my $ssh=Net::SSH::Perl->new($host,cipher=>'DES'); $ssh->login($user,$passwd); $ssh->cmd("who"); When i use >ssh -c des -l user ip_add from the command prompt the connection to the other Linux boxes works perfect. So i dont understand where the error is. I hope someone has a clue or can point me to a link where i can get further help. Thanks for any replies -bb -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]