This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get a script file to use bash and ssh


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]