delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/16/12:41:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Grant Edwards <grante AT visi DOT com>
Subject: "net use" and sshd passwd vs. public-key
Date: Wed, 16 Jan 2008 17:38:41 +0000 (UTC)
Lines: 25
Message-ID: <fmlff1$brk$1@ger.gmane.org>
User-Agent: slrn/0.9.8.1 (Linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm running Cygwin sshd on a WinXP-Pro machine.  When I ssh-in
using a password, I can map drives with "net use".  When I set
up an authorized_keys file so I don't have to enter a password,
"net use" stops working: I get a system error 5 "access
denied", and it appears to be generated by the machine where
the "net use" is being run, not by the SMB server (it never
sees a request).

From searching the group, I see this is a known issue and is
caused by the lack of a "logon session" (whatever that is) in
the case of public-key authentication.

What I haven't been able to figure out from my searches is
whether there is a solution/workaround for this problem.  It's
really annoying to have to enter passwords in order to have
mapped drives (it's going to prevent me from automating some
things using shell scripts).

Is there any way to get mapped drives and public-key
authentication working together?

-- 
Grant Edwards                   grante             Yow! I'm having fun
                                  at               HITCHHIKING to CINCINNATI
                               visi.com            or FAR ROCKAWAY!!


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019