X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Shared home dir, samba workgroups and ssh
Date:  Wed, 18 Oct 2006 08:20:45 -0500
Lines: 34
Message-ID: <eh59nf$r57$1@sea.gmane.org>
References:  <egqq3m$o4u$1@sea.gmane.org> <eh4bq8$db4$1@sea.gmane.org> <20061018091815.GD8323@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <20061018091815.GD8323@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen wrote:
> As Larry proposed, "StrictModes no" or mapping .ssh to a local 
> directory should help. Another choice would be to start sshd with 
> "nontsec".
Pretty much as I suspected. I missed Larry's response. Sorry. But 
Corina, you're response here will server others well I suspect.

While I can turn StrictModes to no on my server, I can't on the various 
Unix machines I might log into at work.

How do you "map" the .ssh directory to a local directory? Would it be 
something like mv ~/.ssh /cygdrive/c/myssh and then ln -s 
/cygdrive/c/myssh ~/.ssh? Hmm.... I wonder how that would look/work when 
I'm on a Unix machine (which shares my home directory) when I ssh from 
one Unix machine to another...). As for starting with nontsec would that 
be something like "CYGWIN=NONTSEC ssh <host>" at the command line?

On another front, and this may be of interest to others in restrictive 
environments, I've downloaded and installed proxytunnel 
(http://proxytunnel.com) since I cannot by default ssh from work to home 
due to firewall restrictions. This works well and I have changed my 
~/.ssh/config to define my home machine to use this proxytunnel thing. 
However I noticed that while Cygwin's OpenSSH supports these entries in 
the ~/.ssh/config file, some of the Unix/Linux machines @work barf at 
it. Guess I could maintain two config files and do the associated magic 
with aliases/functions/script in the like so that on Unix it ssh's 
specifying an alternate config file and on Cygwin it starts with the 
NONTSEC thing. What a bother though. I just want to be able to ssh into 
a machine with a minimal amount of fuss...

-- 

Andrew DeFaria <http://defaria.com>
Stop repeat offenders. Don't re-elect them!


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

