Labs: Difference between revisions
(Created page with "{{Box/start}} In this article, you'll learn: * How to Use the BigID Labs SSH Terminal {{Box/end}} == SSH == All BigID labs contain an SSH component. This allows you to access the terminal of the system. By default only the user who has spun up the system has access to the BigID UI and the SSH terminal. Users with emails ending in bigid.com can access any lab system. There are a few commands that allow you to interact with the machine beyond regular terminal commands....") |
No edit summary |
||
Line 16: | Line 16: | ||
<syntaxhighlight lang="BASH">grant [email protected]</syntaxhighlight> | <syntaxhighlight lang="BASH">grant [email protected]</syntaxhighlight> | ||
The remove script allows you to remove an email address that was previously granted access. | The remove script allows you to remove an email address that was previously granted access. Note that this will not kick the user out of active sessions. It may take up to an hour for all active sessions of the user to close. | ||
<syntaxhighlight lang="BASH">remove [email protected]</syntaxhighlight> | <syntaxhighlight lang="BASH">remove [email protected]</syntaxhighlight> | ||
=== Uploading and Downloading Files === | |||
Users can also upload and download files to their lab instances. The download script takes in a filename and will immediately download a file. | |||
<syntaxhighlight lang="shell">download file.txt</syntaxhighlight> | |||
The upload script will spawn an upload dialog for the user to choose a filename and file to upload. Note that this will upload the file to directory where the command was called. | |||
<syntaxhighlight lang="shell">upload</syntaxhighlight> |
Revision as of 20:09, 13 December 2024
- How to Use the BigID Labs SSH Terminal
SSH[edit]
All BigID labs contain an SSH component. This allows you to access the terminal of the system. By default only the user who has spun up the system has access to the BigID UI and the SSH terminal. Users with emails ending in bigid.com can access any lab system. There are a few commands that allow you to interact with the machine beyond regular terminal commands.
Adding and Removing Access[edit]
BigID labs come with two scripts to add and remove users from the system. The original owner of the machine cannot be removed with these scripts. These users will still need to have a BigID account to access the system.
The grant script allows you to grant an email address access to the system. This will grant both SSH and BigID UI access.
grant [email protected]
The remove script allows you to remove an email address that was previously granted access. Note that this will not kick the user out of active sessions. It may take up to an hour for all active sessions of the user to close.
remove [email protected]
Uploading and Downloading Files[edit]
Users can also upload and download files to their lab instances. The download script takes in a filename and will immediately download a file.
download file.txt
The upload script will spawn an upload dialog for the user to choose a filename and file to upload. Note that this will upload the file to directory where the command was called.
upload