How to get a script file to use bash and ssh

Michael Ludwig milu71@gmx.de
Sat Sep 11 17:21:00 GMT 2010


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



More information about the Cygwin mailing list