iang has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monks. Your help on my previous query was quite helpful and greatly appreciated. I work in a shop that uses F-secure SSH. I am trying to compile Net::SSH::Perl. I finally got that compiled, but it does not seem to work. Here is the output from debug:
myhost: Reading configuration data /home/user/.ssh/config myhost: Reading configuration data /etc/ssh_config myhost: Connecting to myhost, port 22. myhost: Remote protocol version 2.0, remote software version 3.2.9 F-S +ECURE SSH 3.2.3 myhost: Net::SSH::Perl Version 1.25, protocol version 2.0. myhosthigfxldwb01: No compat match: 3.2.9 F-SECURE SSH 3.2.3 myhost: Connection established. myhost: Sent key-exchange init (KEXINIT), wait response. <b>myhost: Algorithms, c->s: 3des-cbc hmac-sha1 none myhost: Algorithms, s->c: 3des-cbc hmac-sha1 none</b>
The following seem to be the only ciphers available on my client where the perl code is running:
[1] IDEA [2] DES [3] DES3 [5] RC4 [6] Blowfish
When I run ssh from the command line in verbose I get the following output:
debug: Connecting to myhost, port 22... (SOCKS not used)^M debug: Ssh2Transport/trcommon.c:3748/ssh_tr_create: My version: SSH-1. +99-3.2.9 F-SECURE SSH 3.2.3^M debug: client supports 3 auth methods: 'publickey,keyboard-interactive +,password'^M debug: Ssh2Common/sshcommon.c:588/ssh_common_wrap: local ip = 10.216.3 +7.73, local port = 35112^M debug: Ssh2Common/sshcommon.c:590/ssh_common_wrap: remote ip = 10.216. +37.73, remote port = 22^M debug: SshConnection/sshconn.c:1945/ssh_conn_wrap: Wrapping...^M debug: SshReadLine/sshreadline.c:2420/ssh_readline_eloop_initialize: I +nitializing ReadLine...^M debug: Remote version: SSH-2.0-3.2.9 F-SECURE SSH 3.2.3^M debug: Major: 3 Minor: 2 Revision: 9^M debug: Ssh2Transport/trcommon.c:1377/ssh_tr_negotiate: lang s to c: `' +, lang c to s: `'^M debug: Ssh2Transport/trcommon.c:1443/ssh_tr_negotiate: c_to_s: cipher +aes128-cbc, mac hmac-sha1, compression none^M debug: Ssh2Transport/trcommon.c:1446/ssh_tr_negotiate: s_to_c: cipher +aes128-cbc, mac hmac-sha1, compression none^M debug: Remote host key found from database.^M debug: Ssh2Common/sshcommon.c:380/ssh_common_special: Received SSH_CRO +SS_STARTUP packet from connection protocol.^M debug: Ssh2Common/sshcommon.c:430/ssh_common_special: Received SSH_CRO +SS_ALGORITHMS packet from connection protocol.^M debug: server offers auth methods 'publickey,password'.^M debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1794/ssh_client_auth_pubkey +: Starting pubkey auth...^M debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1751/ssh_client_auth_pubkey +_agent_open_complete: Agent is not running.^M debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1549/ssh_client_auth_pubkey +_agent_list_complete: Got 0 keys from the agent. ^M debug: SshConfig/sshconfig.c:2979/ssh2_parse_config_ext: Unable to ope +n /home/user/.ssh2/identification^M debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1529/ssh_client_auth_pubkey +_add_candidates: Trying 0 key candidates.^M debug: Ssh2AuthPubKeyClient/authc-pubkey.c:983/ssh_client_auth_pubkey_ +try_this_candidate: All keys declined by server, disabling method.^M debug: Ssh2AuthClient/sshauthc.c:319/ssh_authc_completion_proc: Method + 'publickey' disabled.^M debug: server offers auth methods 'publickey,password'.^M debug: Ssh2AuthPasswdClient/authc-passwd.c:105/ssh_client_auth_passwd: + Starting password auth...^M
Can somebody help explain what I am missing here?
Thanks,
Ian

2005-11-27 Retitled by planetscape, as per Monastery guidelines
Original title: 'SSH'

Replies are listed 'Best First'.
Re: Net::SSH::Perl and f-Secure SSH
by iang (Sexton) on Nov 27, 2005 at 03:54 UTC
    Well Monks, I continued to work on this. I seem to have gotten further. I read up on Net::SSH::Perl::Mac. I added this, enabled it and it works, but *extremely* slow. Any thoughts?
    Ian