If you are trying to connect using public key authentication, the keys
need to be converted:
OpenSSH -> SSH2
From OpenSSH, to SSH2
Note that following the public key from OSSH will be on CSSH. Since,
however, SSH2 cannot read an OpenSSH key we have to do a few
modifications to the file.
What we're doing How Where
1. Convert SSH Public Key ssh-keygen -e -f
OSSH
2. Create the public key file on the SSH2 machine vi
..ssh2/id_dsa.lnxcde01, then paste it in. CSSH
3. Add Public Key to the list of keys echo "key id_dsa.OSSH" >>
..ssh2/authorization CSSH
NOTE: The default name of the private key on OSSH is id_dsa but the
file name can be defined using the "identification" file.=20
You can now ssh from OSSH to CSSH without a password. Ensure that no
other user has access to your private key file (keep permissions at
600). Public keys can (and should) be publicly available.

Hope this helps.

Martin


-----Original Message-----
From: Muktheshwar Sharma [mailto:Muktheshwar.Sharma@three.co.uk]=20
Sent: Thursday, June 16, 2005 2:29 AM
To: 'secureshell@securityfocus.com'
Subject: FW: OpenSSH connection Problem


Please could any one guide me.

Regards
Muktheshwar
4th Line Support - Product Integration, 3
Tel: 01628 765780
Mobile: 07782329291



-----Original Message-----
From: Damien Miller [mailto:djm@mindrot.org]
Sent: 16 June 2005 04:43
To: Muktheshwar Sharma
Cc: 'openssh@openssh.com'
Subject: Re: OpenSSH connection Problem


This is a list for bugs in the OpenBSD version of OpenSSH, not for
general support queries. Please use the secureshell@securityfocus.com
list for support issues.

Muktheshwar Sharma wrote:
> Hi,
>=20
> I am connecting using Openssh Version 3.8.x to a commercial version of

sftp
> via internet. I am getting the following problem
>=20
> chris@banshee:~$ sftp mxtel02@217.171.130.243
> Connecting to 217.171.130.243...
> Permission denied (publickey).
> Couldn't read packet: Connection reset by peer chris@banshee:~$
>=20
>=20
> I've got the key loaded into my ssh-agent and if I try with -vvvv then

I
> can see it's offering it:-
>=20
> debug1: Authentications that can continue: publickey
> debug1: Offering public key: 3avkey
> debug3: send_pubkey_test
> debug2: we sent a publickey packet, wait for reply
> debug1: Authentications that can continue: publickey
>=20
> Kindly advice what to do.
>=20
> Advance Thanks and Regards,
> Muktheshwar
>=20
>=20
>=20
>

__________________________________________________ ______________________
>=20
> This e-mail message (including any attachment) is intended only for

the
personal=20
> use of the recipient(s) named above. This message is confidential and

may
be=20
> legally privileged. If you are not an intended recipient, you may not

review, copy or=20
> distribute this message. If you have received this communication in

error,
please notify=20
> us immediately by e-mail and delete the original message.
>=20
> Any views or opinions expressed in this message are those of the

author
only.=20
> Furthermore, this message (including any attachment) does not create

any
legally=20
> binding rights or obligations whatsoever, which may only be created by

the
exchange=20
> of hard copy documents signed by a duly authorised representative of

Hutchison=20
> 3G UK Limited.
>

__________________________________________________ ______________________
>=20




__________________________________________________ ______________________

This e-mail message (including any attachment) is intended only for the
personal=20
use of the recipient(s) named above. This message is confidential and
may be=20
legally privileged. If you are not an intended recipient, you may not
review, copy or=20
distribute this message. If you have received this communication in
error, please notify=20
us immediately by e-mail and delete the original message.

Any views or opinions expressed in this message are those of the author
only.=20
Furthermore, this message (including any attachment) does not create any
legally=20
binding rights or obligations whatsoever, which may only be created by
the exchange=20
of hard copy documents signed by a duly authorised representative of
Hutchison=20
3G UK Limited.
__________________________________________________ ______________________