Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat Enterprise Linux Server release 6.0 (Santiago)
Posts: 18
Rep:
shell script to login on multiple server.
Hello,
I work as a administrator in my company, so need to login multiple linux servers. so i need a shell script which can login multiple servers. It should be like that, for each server there is separate tab.
I work as a administrator in my company, so need to login multiple linux servers. so i need a shell script which can login multiple servers. It should be like that, for each server there is separate tab.
What exactly is it what you need and what is it based upon?
- You talk about each server having its own tab. Which tabbed terminal or program are you using? Would multiple terminals (example: xterm) do, which aren't tabbed.
- You also mention logging into multiple servers. Do you need to log into all the remote servers at once when the script runs? Or do you need/want to log into one or more based on a selection?
- Which mechanism is used to log into the servers?
It would be nice if you showed what you have tried. This might also give us an indication about the above questions.
If you have a large number of servers and aren't using a configuration management tool already, you might look into Puppet, CfEngine, or Chef. It might reduce the amount of time you need to spend logging inrto many servers to do the exact same task.
Hello,
I work as a administrator in my company, so need to login multiple linux servers. so i need a shell script which can login multiple servers. It should be like that, for each server there is separate tab.
Please help me.
We'll be glad to HELP you..so show us what you've done/tried of your own and tell us where you're stuck. But we are NOT going to write your scripts for you...and as an administrator, shouldn't YOU be able to write them? Research what tools will fit your environment already?
Show us what you've done/tried of your own, and what your goals are. But a script to login to multiple servers is pointless..unless it actually DOES SOMETHING after it logs in. And depending on what the 'something' is, you may not even NEED a script.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.