Question concerning gsh - I could not find the information in the man page or on the developers page:

Is there a way to define a default list of hosts to connect to? I do not want to always use the command line parameter to supply a hosts file, nor list the hosts directly.

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

I don't know gsh, but you can use this, with a list of hosts in the file "myhosts":

gsh $(cat myhosts)

Put this in a shell script or shell alias...

link|improve this answer
Thanks, will try that as fall-back. If nothing better/more detailed arises, I'll accept that as answer. – brandstaetter Oct 9 '09 at 6:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.