In this tutorial, you'll learn how to connect NonBios to your cloud virtual machine.
In this tutorial, you'll learn how to connect NonBios to your cloud virtual machine. This approach works with any cloud provider, including AWS, Azure, Google Cloud, or corporate cloud environments. By running NonBios operations on your own VM, you maintain better security since your code and data stay within your infrastructure.
The connection process involves two main steps:
Entering Shell Mode in NonBios
Establishing an SSH connection to your cloud VM
Step 1: Understanding and Activating Shell Mode
NonBios operates within a Linux sandbox environment. While this sandbox is typically only accessible to NonBios, we can interact with it directly using Shell Mode.
To activate Shell Mode:
Enter the command: shell-mode
You'll see confirmation that "shell-mode is True"
Try basic commands like ls to verify you're operating in the sandbox
Important Note: Shell Mode only supports non-interactive commands
Step 2: Connecting to Your VM
Since Shell Mode doesn't support interactive commands, we'll use sshpass to establish our connection. sshpass allows us to provide login credentials as command-line arguments, making the process non-interactive.