delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/30/05:45:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hannu Koivisto <azure AT iki DOT fi>
Subject: ssh/pubkey authentication and use of subst
Date: Tue, 30 Oct 2007 12:44:30 +0200
Lines: 32
Message-ID: <lq1wbc6fw1.fsf@kalahari.s2.org>
Mime-Version: 1.0
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/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

Greetings,

Based on earlier discussions on this list, it's apparently a known
problem that when you use public key authentication, you are not
authenticated "through windows", which means that you cannot map
network shares, for example.  I was surprised to find that I cannot
use subst either.  It works fine if I log in using password
authentication, just like mapping of network shares works.

Unfortunately I have a situation where I'd really need to combine
passwordless ssh logins and use of subst.  It would be ok if I
needed to give the password once as a separate step and then
further use of ssh didn't require giving a password.

Are there any workarounds to this problem?  I was wondering if fsh
(http://www.lysator.liu.se/fsh/) could be of help here: I haven't
used it before but apparently with it you create a tunnel once (and
give the password) and further logins reuse the existing tunnel.
Unfortunately I couldn't find fsh as a Cygwin package, which makes
me wonder if there is a technical reason it is not available.

If I understood correctly, when you log in using pubkey
authentication, you basically are the user sshd runs as.  I have
set up sshd without privilege separation so that would be the
system account.  One would expect system account to be able to use
subst but if it indeed can't, would it be possible to extend the
capabilities of system account to that effect?

Any other ideas?

-- 
Hannu


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