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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: 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 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