SSH Access
Synpse allows you to ssh into the edge. You can access your devices anywhere where they are.
Last updated
Synpse allows you to ssh into the edge. You can access your devices anywhere where they are.
Last updated
Synpse allows you to connect to the device via the SSH directly from the browser:
First, to list your devices:
To access your device from the CLI:
Synpse supports native ssh clients too. So you can use tools like SCP or Ansible more easily with your devices. Native ssh client supports 2 modes of authentication:
Username/password
SSH keys
You can ssh to any device using the syntax below. Password for this is is Access key
or Service account access key
RBAC is still applicable to these connections. User in question should have "Resource: Device, Action: SSH" in their role bindings for authentication.
Example:
To authenticate using SSH keys you need to add public SSH key into your account. This can be done via UI SSH Keys
section or CLI synpse ssh-keys add <key-name> -k <path-to-public-key>
Or synpse CLI can do this for you. Just run synpse ssh-keys configure
and it will generate key pair into .ssh folder and add it to the current synpse session.
Authentication:
We understand that these names are hard to remember and to use. For this CLI will manage part of the.ssh/config
file. If you have a synpse SSH key configured using synpse ssh-keys configure
and you execute native ssh command synpse ssh <device_name>
ssh config will be updated with all the required details. See the example below:
Due to security reasons, Synpse does not support RSA ssh keys. Use ECDSA keys.
Example how to generate ECDSA key pair:
Where is a way to prevent anybody with access to SSH into the devices? This can be done using RBAC or via ssh key checking. Documentation is coming, but if you need this now - ping us on Discord