SSH Connections¶
CrossTerm provides a full-featured SSH client with support for modern authentication methods, jump hosts, port forwarding, and agent forwarding.
Authentication Methods¶
Password Authentication¶
The simplest method. Enter your username and password when connecting. Passwords can be stored in the Credential Vault for quick access.
- Open Quick Connect (Ctrl+Shift+N / ⌘⇧N).
- Enter hostname, port, and username.
- Select Password authentication.
- Enter your password or choose a saved credential.
SSH Key Authentication¶
More secure than passwords. CrossTerm supports OpenSSH, PEM, and PKCS#8 key formats.
- Open Quick Connect or create a new session.
- Select SSH Key authentication.
- Provide the path to your private key, or paste the key content.
- If your key has a passphrase, enter it or use a vault credential.
Supported key types: - RSA (2048-bit and above) - Ed25519 (recommended) - ECDSA (P-256, P-384, P-521)
Certificate Authentication¶
For organizations using SSH certificates:
- Select Certificate authentication.
- Provide your certificate and matching private key.
- Supports PEM and PKCS#12 formats.
Jump Hosts (ProxyJump)¶
Connect through an intermediate server when direct access is not possible:
- Edit your session settings.
- Under Advanced, enable Jump Host.
- Enter the jump host address, port, and credentials.
- CrossTerm establishes the hop automatically.
You can chain multiple jump hosts for complex network topologies.
Port Forwarding¶
Local Forwarding¶
Forward a port from your local machine to a remote destination through the SSH tunnel:
- Use case: Access a remote database on
db-server:5432through your SSH connection. - Configuration: Local port 15432 → Remote
db-server:5432. - Connections to
localhost:15432are tunneled todb-server:5432via the SSH server.
Remote Forwarding¶
Expose a local service to the remote host:
- Use case: Let the remote server access your local dev server on port 3000.
- Configuration: Remote port 8080 → Local
localhost:3000.
Dynamic Forwarding (SOCKS Proxy)¶
Create a SOCKS5 proxy through the SSH tunnel:
- Use case: Route all browser traffic through the SSH server.
- Allocates a local SOCKS port that proxies traffic through the remote host.
Agent Forwarding¶
Allow the remote server to use your local SSH keys for onward connections:
- In session settings, enable Agent Forwarding.
- Your local SSH agent (or CrossTerm's built-in agent) will be forwarded.
- On the remote host, you can SSH to other servers using your local keys.
Security note: Only enable agent forwarding to trusted servers.
Keep-Alive Settings¶
To prevent idle disconnections:
- Keep Alive Interval: Sends a packet every N seconds (default: 60).
- Configure per-session or globally in Settings → SSH.
Host Key Verification¶
On first connection, CrossTerm displays the server's host key fingerprint. You can:
- Accept: Trust this key and save it.
- Reject: Cancel the connection.
- Accept Once: Connect without saving the key.
If a previously saved host key changes, CrossTerm shows a warning. This may indicate a server reinstallation or a potential security issue.
Connection Troubleshooting¶
If you have trouble connecting, see the Troubleshooting guide.