This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba
On 02/01/2008, Terry Orechia wrote:
> You should still be able to login as yourself and gain access to
> your network shares.
I am able to login as myself without passwordless login and get access to
my network shares. However, I am not able to login as myself using
PASSWORDLESS login via public keys and have access to the network shares.
I need to execute ssh login in a batch script so I need passwordless login
to work and I need to have access to the network shares when I login. Is
there some other way to get access to network shares via passwordless login
without changing the user who runs the sshd service and opening the
security hole?
Yes, it should be possible to change the user as you have without adding the
extra permissions to that user. This is what I was suggesting (and the FAQ
I pointed to mentions as an option).
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/