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: FW: OpenSSH connection Problem

Subject: Re: FW: OpenSSH connection Problem
Date: Thu, 16 Jun 2005 11:20:33 -0700
typically the private key does not have the correct perms, in a unix world that would be 600. ALso the directory the key is in, .ssh, needs 700 perms. This is just a guess.

A usefull debugging technique, if you root access to the server is to start and sshd in debug mode on a seperate port, sshd -d -p4444. The try to sftp to that sshd, -oPort=4444, and see hwat the logging tells you.

my .02

JH

oMuktheshwar Sharma wrote:

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>