Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.14 KB

README.md

File metadata and controls

61 lines (46 loc) · 1.14 KB

SynnefoSSH

SynnefoSSH is a command-line tool in order to easily perform SSH to VMs in Synnefo deployments.

About

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.

Configuration

The tool is using the default kamaki configuration file .kamakirc to retrieve the available clouds.

Basic Usage

List available servers
$ synsh --list
-------------
cloud:okeanos
-------------
dev1
dev2
mail

-----------
cloud: demo
-----------
dev2
Connect to server
$ synsh dev1
Connecting to Virtual Server 'dev' at cloud 'okeanos'
IPv4: 192.168.2.2
User: root
SSH command: ssh [email protected]
Connect to specific cloud

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]