SSH Access to Your Machines
Learn how to initiate SSH Sessions to your Andasy machines.
You can initiate an SSH (Secure Shell) session to a machine running your application on the Andasy platform using the Andasy CLI. This allows you to access the machine's shell and interact with your application directly, similar to logging into a remote server.
What is SSH?
SSH (Secure Shell) is a protocol that provides secure remote access to a machine's command-line interface. With SSH access to your Andasy machines, you can:
- Debug issues - Inspect running processes, check logs, examine files
- Run commands - Execute diagnostic commands or one-off tasks
- Inspect the environment - Check environment variables, network configuration, resource usage
- Database access - Connect to databases using command-line tools (e.g.,
psqlfor PostgreSQL) - File system access - Browse directories, check file permissions, examine application files
SSH access is particularly useful for troubleshooting, debugging, and performing administrative tasks that aren't easily done through the CLI or dashboard.
Related Commands
- Shell command - Open an interactive shell session
- SFTP command - Transfer files securely