CloudShell Colony provides the Bastion feature to be enabled in every sandbox to allow you to connect to any of your instances directly from CloudShell Colony’s sandbox.
CloudShell Colony secures your cloud infrastructure by keeping it closed to incoming traffic while allowing the connection to your compute instances, through the Bastion, using automatically generated certificates.
When a sandbox is launched, the compute instances are created and a certificate is generated. The Bastion feature uses the certificate to allow you to connect to your infrastructure instances without opening them to unauthorized 3rd party traffic.
To connect to a compute instance in a sandbox:
- In the required sandbox, click the Troubleshooting tab.
- Select an application to view its compute instances.
- To establish an SSH connection, click Connect via SSH.
To establish an RDP connection, click Connect via RDP.
A new interactive browser tab opens, with a remote SSH/RDP session to the remote machine.
Advanced Interaction Options
The Bastion includes advanced interactive options such as sharing clipboard, transferring files and more.
To open the advanced interaction pane, press Ctrl+ Alt+Shift on your keyboard. A side pane opens on top of your interactive window.
Sending text to/from the SSH session
The Clipboard text area functions as an interface between the remote clipboard and the local clipboard. The text you type there is automatically synchronized with the remote machine’s clipboard.
To send text to the SSH session:
- Enter the text in the Clipboard text area.
- Close the advanced interactive side pane by pressing Ctrl + Alt + Shift.
- Right-click the shell command line. This will copy the text from the local clipboard (which is now filled with your text) into the shell command line.
To copy text from the SSH session:
- In the shell command line, mark the text to copy.
- Press Ctrl + Alt + Shift to open the advanced interactive side pane.
- The selected text appears in the Clipboard text area.
You can transfer files between your local computer and the remote VM, provided that your infrastructure is open for file transfer.
To upload/download files:
- Open the advanced interactive side bar. Click the Devices button to open the file system of the remote machine.
- Navigate to the required file location by double-clicking a folder to open. This can either be the location to which you wish to upload a file or the location of the file you wish to download.
Optionally, use the breadcrumbs to navigate between open folders.
- To upload a file to the selected location, click the Upload Files button and browse to the file(s) you wish to upload. You may select multiple files from the same folder to upload.
NOTE: you can upload files simply by dragging and dropping them into your browser window.
- To download, double-click the required file.