Skip to main content

Ssh connection generation tool

Project description

Belier allows automated openings of a shell or command executions on remote computers through ssh. The main feature is Belier’s ability to cross several computers before joining the final machine.

Website : http://www.ohmytux.com/belier

Usage

We’d like to open a shell on a remote machine through two mandatories intermediate servers. We first create an input file to prepare connection parameters :

user@localhost:~$ cat ordres
intermediaire1 admin azer0;lp!Z
admin@intermediaire2
admin@machine-finale root jkw!po12;

We generate the final script with Belier :

user@localhost:~$ bel --entree=ordres
user@localhost:~$ ls
user@localhost:~$ machine-finale.sh

Following next is the shell sequence used by Belier. Only the first command is executed by the user, the others are fully automated from the script generated by Belier :

user@localhost:~$ ./machine-finale.sh
spawn ssh intermediaire1
user@intermediaire1's password:
user@intermediaire1:~$ su - admin
Password:
admin@intermediaire1:~$ ssh admin@intermediaire2
admin@intermediaire2:~$ ssh admin@machine-finale
admin@machine-finale's password:
admin@machine-finale:~$ su - root
Password:
root@machine-finale:~#

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

belier-0.5.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page