SSH2 (ssh.com) Server Key Authentication with OpenSSH Client?
From: Aria (exhuman_at_gmail.com)
Date: 02/14/05
- Next message: Luis P. Mendes: "Re: rsync --port=PORT"
- Previous message: puppy_friend_at_yahoo.com: "Re: Restrict account to scp only to user directory."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 14 Feb 2005 14:18:44 -0800
Hi,
I have SSH2 (ssh.com) server (4.2.0.21 SSH Secure Shell Windows Server)
running on an XP Windwos and trying to get the public key
authentication working from a host who runs OpenSSH client (OpenSSH
3.8.1p1).
These the procedures I have followed from various sources and books but
none has worked:
Creating a pair of public/private key on a host with OpenSSH client:
`ssh-keygen -t dsa'
Then converting the OpenSSH key to SSH2 format:
`ssh-keygen -e -f ~/.ssh/id_dsa.pub > ~/.ssh/id_dsa_openssh.pub'
Now, I even tried creating a key without a passphrase, converting it to
SSH2 format, then setting the passphrase, it did NOT work.
Transfer the public key to the Windows machine and place it in:
`C:\Documents and Settings\user\Application Data\SSH\UserKeys'
Then add this to `C:\Documents and Settings\user\Application
Data\SSH\authorization' file:
`Key UserKeys/id_dsa_openssh.pub'
I even tried transferring a passwordless private and public keys
generated by OpenSSH's `ssh-keygen' and attempting to set the
passphrase via `ssh-keygen2' on Windows but did not work.
The SSH2 server reports this:
`2948:Ssh2AuthPubKeyServer: Received public key (type ssh-dss) not
authorized by authorization file.'
On the OpenSSH client side, it reports:
`debug1: Offering public key: /home/user/.ssh/id_dsa'
And then keeps going through keys until it doesn't authenticate any of
them. The permissions have been set to 600 and 644 on separate
occasions but neither has worked.
Once again, I'm trying to authenticate my keys from OpenSSH client on
Unix environment to SSH2 (ssh.com) server.
I have successfully managed to authenticate the opposite though: SSH2
(ssh.com) client to OpenSSH server.
- Next message: Luis P. Mendes: "Re: rsync --port=PORT"
- Previous message: puppy_friend_at_yahoo.com: "Re: Restrict account to scp only to user directory."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|