This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to get a script file to use bash and ssh
On 2 September 2010 20:52, Jeremy Bopp 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@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@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.
That shouldn't be an issue, because HOME, if not set already, is set
automatically based on the user's /etc/passwd entry or the Windows
HOMEDRIVE and HOMEPATH variables when the initial Cygwin process is
started.
Andy
--
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