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 <[EMAIL PROTECTED]> 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