F-Secure client talking to OpenSSH server - openssh

This is a discussion on F-Secure client talking to OpenSSH server - openssh ; Hello, I need to let one server running Solaris 5.6 and F-Secure SSH 3.0.1 transfer files to another server running OpenSSH 4.3p1 using sftp. I have put the public key from the client into the server's $HOME/.ssh directory, but OpenSSH ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: F-Secure client talking to OpenSSH server

  1. F-Secure client talking to OpenSSH server

    Hello,

    I need to let one server running Solaris 5.6 and F-Secure SSH 3.0.1
    transfer files to another server running OpenSSH 4.3p1 using sftp.
    I have put the public key from the client into the server's $HOME/.ssh
    directory, but OpenSSH does not recognize it:
    debug: server offers auth methods
    'publickey,password,keyboard-interactive'.
    debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method
    'publickey' disabled.
    debug: server offers auth methods
    'publickey,password,keyboard-interactive'.
    debug: Ssh2AuthPasswdClient/authc-passwd.c:113/ssh_client_auth_passwd:
    In Batchmode, so we're not asking the user for password.
    debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method
    'password' disabled.
    debug: server offers auth methods
    'publickey,password,keyboard-interactive'.
    debug: Ssh2Common/sshcommon.c:137/ssh_common_disconnect: DISCONNECT
    received: No further authentication methods available.

    Any hints ?

    Marek


  2. Re: F-Secure client talking to OpenSSH server

    we'll need to generate a new set of keys on the SSH2 machine, and send its
    publickey to the openssh machine. Again, we'll need to do some converting of
    the public key, this time to OpenSSH form.


    What we're doing How Where

    1. Create SSH Keys

    ssh-keygen -t dsa Local

    2. Tell SSH2 who it is (don't ask) PrivateKey

    echo "IdKey id_dsa_1024_x" >> $HOME:/.ssh2/identification Local

    3. Set permissions

    chmod 600 $HOME:/.ssh2/id_dsa_1024_x.pub $HOME:/.ssh2/identification Local

    4. Copy the public key to the OpenSSH machine

    scp $HOME:/.ssh2/id_dsa_1024_x.pub Remote:$HOME:/.ssh2 Local

    5. Convert the public key, and add it

    ssh-keygen -i -f id_dsa_1024_x.pub >> $HOME:/.ssh/authorized_keys2 Remote


    Note4: on SCP2

    SSH2:scp2 -> OpemSSH (works OK OpenSSH can adjust)

    OpemSSH:scp -> SSH2 (nope)

    Hope this help

    "dobbie" wrote in message
    news:e5hung$20ce$1@FreeBSD.csie.nctu.edu.tw...
    > Hello,
    >
    > I need to let one server running Solaris 5.6 and F-Secure SSH 3.0.1
    > transfer files to another server running OpenSSH 4.3p1 using sftp.
    > I have put the public key from the client into the server's $HOME/.ssh
    > directory, but OpenSSH does not recognize it:
    > debug: server offers auth methods
    > 'publickey,password,keyboard-interactive'.
    > debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method
    > 'publickey' disabled.
    > debug: server offers auth methods
    > 'publickey,password,keyboard-interactive'.
    > debug: Ssh2AuthPasswdClient/authc-passwd.c:113/ssh_client_auth_passwd:
    > In Batchmode, so we're not asking the user for password.
    > debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method
    > 'password' disabled.
    > debug: server offers auth methods
    > 'publickey,password,keyboard-interactive'.
    > debug: Ssh2Common/sshcommon.c:137/ssh_common_disconnect: DISCONNECT
    > received: No further authentication methods available.
    >
    > Any hints ?
    >
    > Marek
    >




+ Reply to Thread