Access and Control
Last updated
The Flatsat can be accessed using SSH. Please email contact@cryptosat.io for more details.
The local machine is a Debian based machine connected to the internet and to the Flatsat. This machine facilitates access to all the Crypto Engines.
From the local machine terminal, you can use SSH to directly connect to a Crypto Engine. The following command will connect to the Crypto Engine 2 via SSH.
ssh ce2sftp can be used to transfer files. Other common utilities are installed on the local computer as well.
Here is an example how to upload a file using sftp:
sftp -i .ssh/id_rsa -P [port] user@server_ipAnsible is installed on the local machine. The ~/ansible/ directory contains the inventory and configuration files to quickly run playbooks and commands across all the Crypto Engines.
For example, this command will run hostname on all Crypto Engines:
This command will run hostname just on Crypto Engine 0 (ce0)
The playbook copy.yml can be used to upload files to all Crypto Engines
The target targets parameter can be used to specify a subset of hosts. The dest can be used to specify a remote path and name.
Please refer to the Ansible documentation for more information. The Cryptosat team will be happy to assist you in creating Ansible playbooks.
Last updated
~/ansible $ ansible crypto_engines -a "hostname"~/ansible $ ansible ce0 -a "hostname"~/ansible $ ansible-playbook copy.yml -e "src=~/test3"~/ansible $ ansible-playbook copy.yml -e "targets=ce2,ce3 src=~/test3"