X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Shared home dir, samba workgroups and ssh Date: Wed, 18 Oct 2006 08:20:45 -0500 Lines: 34 Message-ID: References: <20061018091815 DOT GD8323 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 " 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 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/