delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/18/09:21:39

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT 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 AT sea DOT gmane DOT org> <eh4bq8$db4$1 AT sea DOT gmane DOT org> <20061018091815 DOT GD8323 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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