| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_RP_RNBL,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Date: | Sat, 11 Sep 2010 19:02:33 +0200 |
| From: | Michael Ludwig <milu71 AT gmx DOT de> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: How to get a script file to use bash and ssh |
| Message-ID: | <20100911170233.GA6044@wladimir> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <29608117 DOT post AT talk DOT nabble DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <29608117.post@talk.nabble.com> |
| User-Agent: | Mutt/1.5.20 (2009-12-10) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |