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. Please help me. |
Quote:
- 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. |
Isn't this what you're looking for?
http://askubuntu.com/questions/20349...th-two-differe In short: gnome-terminal --tab -e "command1" --tab -e "command2" You could also checkout remmina, it's not exactly what you're asking for but might be a good complement. |
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.
|
Quote:
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. |
Ok, I will do it.
|
All times are GMT -5. The time now is 03:43 AM. |