LogoLogo
Home
Atuin Docs
Atuin Docs
  • Welcome
  • Getting Started
    • Runbook Basics
  • Blocks
    • Executable
      • Terminal
      • Script
      • Directory
      • Env
    • Network
      • HTTP
      • SSH
    • Databases
      • PostgreSQL
      • SQLite
      • Clickhouse
    • Monitoring
      • Prometheus
  • Templating
  • Secrets
  • Atuin Hub
    • Getting Started
    • Sharing Runbooks
    • Collaborative Editing
Powered by GitBook
On this page
  • Authentication
  • Running locally
  • Connection pooling
  1. Blocks
  2. Network

SSH

PreviousHTTPNextDatabases

Last updated 15 days ago

SSH is another "contextual" block - just like setting a directory or environment variable.

Insert an SSH block, and fill in the host. All following Terminal or Script blocks will now execute on the remote machine. If the block is going to execute on a remote machine, it will be outlined in blue.

Authentication

We do not yet support specifying authentication, and only connect using the local SSH agent. Tailscale SSH works as expected.

Running locally

If you wish to revert back to local execution, insert a "host" block.

In the future, the host block will support toggling between different connected machines. Right now, it only supports localhost

Connection pooling

Our SSH integration will only open a single SSH connection, and multiplex multiple sessions through it. This means that once connected, block execution will feel fast + low latency

Example SSH block usage