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: PKA on OpenSSH on Cygwin

Subject: RE: PKA on OpenSSH on Cygwin
Date: Fri, 11 Feb 2005 18:10:19 -0800
Start the daemon on the windows box from the command line with the -d 
flag, as the same person who starts it from services.

This should put it in debug mode and then connect from your source with 
something like ssh -vv.  Study the output of both the daemon and the 
client for clues.  Most of the time it's a permissions problem on the .ssh 
directory.

At least the debug output will show you what's going on with the daemon 
and the client.





Dan Franks <Dan.Franks@Ticketmaster.com>
02/11/2005 10:58 AM
 
        To:     Robert L Sowders <rsowders@usgs.gov>
        cc:     secureshell@securityfocus.com
        Subject:        RE: PKA on OpenSSH on Cygwin


Cool.  That helped.  I have the key authenticating but as soon as it tells 
me welcome back it disconnects me.  I thought it was a permissions issue 
but I can login with a password so I don't see how that could be it.  Any 
ideas?

From: Robert L Sowders [mailto:rsowders@usgs.gov] 
Sent: Friday, February 11, 2005 12:41 AM
To: secureshell@securityfocus.com
Cc: Dan.Franks@Ticketmaster.com
Subject: Re: PKA on OpenSSH on Cygwin


Yes and no, 

A new user is created to handle this short coming.  See updated 
instructions at; 

http://ist.uwaterloo.ca/~kscully/SSH/CygwinSSHD_W2K3.html




Dan Franks <Dan.Franks@Ticketmaster.com> 
02/10/2005 09:09 AM 
        
        To:        secureshell@securityfocus.com 
        cc:         
        Subject:        PKA on OpenSSH on Cygwin



Hello all,

Quick question.  Am I correct in my understanding that private key
authentication can not be performed for any account except the account the
openssh service is run under?  I am referencing this text:

"Cygwin has some limitations with regard to PKA. PKA on the server can 
only
be set up on the account under which the SSHD daemon (service) is run. 
That
means for PKA logins, the connection will always log in as the 'sshd'
account on the remote server. If you desire access to your own account, 
you
will have to run 'ssh ' and enter a password, assuming you have previously
established your account on that server."

on Drew Hunts' guide to Setting up Secure Shell with Public Key
Authentication Capability on Cygwin.

Thanks in advance,
Dan


Attachment: ATT6704322.gif
Description: GIF image

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