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'


In reply to Net::SSH::Perl and f-Secure SSH by iang

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.