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 details)

Uploaded Source

File details

Details for the file belier-0.5.tar.gz.

File metadata

  • Download URL: belier-0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for belier-0.5.tar.gz
Algorithm Hash digest
SHA256 ac54da47837c7748158e861ed135bcd8872474228170d042ea4e2a5c67d1824f
MD5 7b70265ad99a419ccb294d8cb5828667
BLAKE2b-256 0443fa939ac79654b4b41b5717932c92dc62d5b0a54ca567770242ed15f428ba

See more details on using hashes here.

Supported by

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