SynnefoSSH is a command-line tool in order to easily perform SSH to VMs in Synnefo deployments.
SynnefoSSH is using kamaki library to translate the name of the virtual server to server's hostname, user and ssh port. Name resolution is performed to all available Synnefo cloud services.
The tool is using the default kamaki configuration file .kamakirc
to retrieve the available
clouds.
$ synsh --list
-------------
cloud:okeanos
-------------
dev1
dev2
mail
-----------
cloud: demo
-----------
dev2
$ synsh dev1
Connecting to Virtual Server 'dev' at cloud 'okeanos'
IPv4: 192.168.2.2
User: root
SSH command: ssh [email protected]
You can restrict the lookup in a specific cloud by adding
the cloud name after the server name:
$ synsh dev2.demo
Also, you can override the user:
$ synsh [email protected]