Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: OpenSSH connection Problem

Subject: RE: OpenSSH connection Problem
Date: Thu, 16 Jun 2005 13:43:10 -0400
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 <path to public key>
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. 
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] 
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
<http://www.three.co.uk>


-----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,

I am connecting using Openssh Version 3.8.x to a commercial version of
sftp
via internet. I am getting the following problem

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:~$


I've got the key loaded into my ssh-agent and if I try with -vvvv then
I
can see it's offering it:-

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

Kindly advice what to do.

Advance Thanks and Regards,
Muktheshwar




________________________________________________________________________

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

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

________________________________________________________________________




________________________________________________________________________

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

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

<Prev in Thread] Current Thread [Next in Thread>