www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/02/15:52:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4C800078.9040101@bopp.net>
Date: Thu, 02 Sep 2010 14:52:24 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to get a script file to use bash and ssh
References: <29608117 DOT post AT talk DOT nabble DOT com> <4C7FFCCE DOT 7040207 AT budcat DOT com>
In-Reply-To: <4C7FFCCE.7040207@budcat.com>
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

On 9/2/2010 2:36 PM, Heath Kehoe wrote:
>  On 9/2/2010 2:10 PM, PaulHR wrote:
> That's all more complicated than it needs to be. Just make windows
> shortcuts to c:\cygwin\bin\ssh.exe, where "Start in:" is set to
> c:\cygwin\bin, and modify "Target:" to contain "C:\cygwin\bin\ssh.exe
> username AT hostname" (without the quotes of course).
> 
> Better yet, install mintty if you don't already have it, and set the
> shortcuts' target to: "C:\cygwin\bin\mintty.exe -e /bin/ssh
> username AT hostname"
> 
> (Mintty is a much better term window than cmd.)

I was going to suggest much the same things to start; however, there
could be issues with home directory settings (necessary for locating the
private ssh keys).  It might also be good to eventually work in the ssh
agent so that the need for passwords can be reduced.

BTW, if you only need Cygwin for connecting to remote hosts with SSH,
you might find Putty to be a better fit for your needs.

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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