Re: F-Secure client talking to OpenSSH server



Look into ssh-keygen for OpenSSH. It has key format conversion functions.
You need to reformat the public key from SECSH format to the OpenSSH format.

-e This option will read a private or public OpenSSH key file and
print the key in a `SECSH Public Key File Format' to stdout.
This option allows exporting keys for use by several commercial
SSH implementations.

-i This option will read an unencrypted private (or public) key file
in SSH2-compatible format and print an OpenSSH compatible private
(or public) key to stdout. ssh-keygen also reads the `SECSH
Public Key File Format'. This option allows importing keys from
several commercial SSH implementations.

Then once converted, you need to append it to the authorized_keys file.

On 5/30/06, dobbie <dobbie1@xxxxxxxxxx> wrote:
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




--
And, did Guloka think the Ulus were too ugly to save?
-Centauri



Relevant Pages

  • RE: Help with OpenSSH -> SSH2 Server
    ... > Well in the past I copied the clients SSH formatted public key up to the ... > server and then ran the conversion on the server. ... > openssh DSA format. ...
    (SSH)
  • Re: How can Putty load my public key generated with OpenSSH
    ... It is that public key I need to load into Putty. ... > can't get putty to load the auhorized key file. ... I suspect the problem is the format of the ...
    (comp.security.ssh)
  • Re: Can not login to remote SSH server using ssh2_auth_pubkey_file
    ... Well it still does not work even if I change my public key file. ... remote PC, so username/password is not an option for me ... they could be in the wrong format - but you almost certainly did use OpenSSH so the keys should be OK. ...
    (comp.lang.php)
  • Re: need help with public keys
    ... Is their host running sshd from OpenSSH or some other source? ... different format. ... switch ssh-keygen can convert your key to the 'SECSH Public Key File ...
    (SSH)
  • Re: putty + ssh.com + pageant still prompt password
    ... formats for putty, openssh and ssh.com are all in different format. ... Even though, I manually try to change them to the same format, still I ... >>public key the server's .ssh2 directory. ... > One thing I have noticed is that the key file generated by puttygen is ...
    (comp.security.ssh)