Ranjitsingh, Kirk
2001-Dec-17 20:32 UTC
disabling sftp authentication using openssh 2.9.9p2...
I'm trying to use sftp from a 2.9.9p2 client, connecting to a F-Secure 2.4.0 server, but consistently get the following. debug1: authentications that can continue: hostbased,publickey,password debug1: next auth method to try is publickey debug1: try privkey: /path/acct/.ssh/id_rsa debug1: try pubkey: /path/acct/.ssh/id_dsa debug1: authentications that can continue: hostbased,publickey,password debug1: next auth method to try is password acct at remotehostsftp's password: Entering the password allow access. But I'm trying to authenticate with having to enter a password. The remote host has a copy of the public key from /path/acct/.ssh/identity.pub file Client host /path/acct/.ssh/id_dsa exists and ssh-agent is running. I assume the id_dsa file isn't needed for publickey authentication, but why is it asking for the pubkey: /path/acct/.ssh/id_dsa. What am I missing? Help...
Markus Friedl
2001-Dec-18 08:46 UTC
disabling sftp authentication using openssh 2.9.9p2...
On Mon, Dec 17, 2001 at 03:32:49PM -0500, Ranjitsingh, Kirk wrote:> I'm trying to use sftp from a 2.9.9p2 client, connecting to a F-Secure 2.4.0 > server, but consistently get the following.i don't think there is a "F-Secure 2.4.0".> debug1: authentications that can continue: hostbased,publickey,password > debug1: next auth method to try is publickey > debug1: try privkey: /path/acct/.ssh/id_rsa > debug1: try pubkey: /path/acct/.ssh/id_dsa > debug1: authentications that can continue: hostbased,publickey,password > debug1: next auth method to try is password > acct at remotehostsftp's password: > > Entering the password allow access. But I'm trying to authenticate with > having to enter a password. > > The remote host has a copy of the public key from > /path/acct/.ssh/identity.pub file > Client host /path/acct/.ssh/id_dsa exists and ssh-agent is running.if you want to use ssh v2 with id_dsa, you need to copy the matching public key file to the server. consult your server documentation. probably you have to use ssh-keygen(1) to convert from openssh to ssh.com format. $ ssh-keygen -e -f ~/.ssh/id_dsa.pub > ~/.ssh2/dsakey.pub $ echo Key dsakey.pub > ~/.ssh2/authorization -m