Belier : script your SSH connection
Software version | 1.2 |
---|---|
Operating System | Debian 7 |
Website | Belier Website |
Last Update | 06/05/2013 |
Others |
1 Introduction
Belier[1] allows opening a shell or executing a command on a remote computer through a SSH connection. The main feature of Belier is its ability to cross several intermediate computers before realizing the job.
- Belier reaches the final computer through intermediate machines.
- You can execute commands with any account available on the remote computer.
- It is possible to switch account on intermediate computers before accessing the final computer.
- You can open a data tunnel through every host you cross to the final host.
- Belier generates one script for each final computer to reach.
Belier aims to give a single system administrator a tool to work independently, without requiring to modify the computers he has to cross, just using the current configurations of every machines he has to work with. So it's not a revolutionary tool but it helps to be productive quickly.
For instance, here is what is possible to do with it :
2 Installation
To install it, as usual it's easy on Debian :
aptitude |
aptitude install belier |
3 Configuration
The configuration is really simple. Type line by line in a 'connection' file, connection's informations to :
- The server name or IP
- The username
- The password
It should looks like this :
~/connection |
server1_bound username password server2_bound username password server3_bound username password final_server username password |
Then generate an automatic script shell connection with Belier :
bel |
bel -e ~/connection |
You should now have a script containing all the commands to quickly connect to your wished server :
You can now launch the command with final_server.sh :-)