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
- From: Michael Ludwig <milu71 at gmx dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 11 Sep 2010 19:02:33 +0200
- Subject: Re: How to get a script file to use bash and ssh
- References: <29608117.post@talk.nabble.com>
PaulHR schrieb am 02.09.2010 um 12:10 (-0700):
>
> I want to create script files that are not bound to my user id. I
> want to create over 20 different scripts files, one for each server I
> manage. I have uploaded keys to each server. So all I should have to
> is enter is the ssh command....
Sounds like you want to explore what options ~/.ssh/config has:
Host s22
HostName server-22.bla.rz
User superadmin
Then type:
ssh s22
Same mechanism available for PuTTY.
--
Michael Ludwig
--
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