Skip to content
xInfra

SSH & Telnet

Connect to Cisco, Juniper, Arista and Linux devices over SSH or Telnet from iPhone and iPad. Keys, passphrases, jump hosts, host keys, keyboard bar, snippets and sessions.

xInfra's terminal is built for network gear and servers: the keyboard bar has the keys you need on a CLI, and sessions survive a quick app switch.

Sign-in methods

Set Sign In in the device's SSH section:

MethodWhat happens
PasswordStored in the iOS Keychain and sent on connect
KeyPublic key authentication with a key from your key library
MFAKeyboard-interactive: xInfra shows the server's prompts, such as a one-time code or push approval
AskNothing is stored; xInfra asks for the password each time

Sessions that used MFA are never reconnected or restored automatically, because they need you to answer the prompt again.

SSH keys

Manage keys in Settings ▸ Keys & Identities.

Generate a key

Choose Ed25519 (recommended), ECDSA P-256 or RSA 4096. Then:

  • Copy or Share the public key, or
  • Copy Install Command, a one-line shell command that appends the key to ~/.ssh/authorized_keys. Run it once over a password session on the server.

For network devices, paste the public key into the device configuration, for example on Cisco IOS:

ip ssh pubkey-chain
 username netops
  key-string
   <paste the public key, split across lines if needed>
  exit

Import a key

Paste it or choose a file. Supported:

  • Types: Ed25519, ECDSA (P-256, P-384, P-521), RSA and DSA.
  • Formats: OpenSSH (-----BEGIN OPENSSH PRIVATE KEY-----), PEM (PKCS#1, SEC1), PKCS#8 and unencrypted PuTTY .ppk files.
  • Passphrases: encrypted OpenSSH, PEM and PKCS#8 keys. xInfra checks the passphrase as you type, and can save it in the key library or ask every time.

Not supported: FIDO security keys (sk-ssh-ed25519, sk-ecdsa), SSH certificates, and passphrase-protected PuTTY keys (convert them with PuTTYgen to OpenSSH first).

RSA keys and newer OpenSSH servers: xInfra signs with RSA using ssh-rsa (SHA-1). OpenSSH 8.8 and later reject that by default, so RSA key login to a recent Linux server fails. Use an Ed25519 or ECDSA key there. RSA keys work with network devices that accept ssh-rsa.

Each key can require Face ID before it is used. Keys are stored in the iOS Keychain on this device only.

Jump hosts

To reach a device behind a bastion, set Jump Host in its SSH section to another saved device. xInfra connects to the jump host first and opens the target connection through it (like ssh -J). One hop is supported. Importing an SSH config converts ProxyJump to jump hosts. Jump hosts are part of Pro.

SOCKS5 proxy

The Network section of a device can route SSH, Telnet and SNMP through a SOCKS5 proxy (host, port 1080 by default, optional user name and password). Also part of Pro.

Host keys

xInfra verifies each server's host key (trust on first use).

  • First connection: Trust This Host? shows the key type and SHA-256 fingerprint (MD5 on request). Choose Trust and Connect, Connect Once or Cancel.
  • Changed key: Host Key Has Changed blocks the connection. Replace Key and Connect requires Face ID or your passcode.
  • Settings ▸ Known Hosts lists trusted hosts. Copy a fingerprint, review a change, or forget a host.

Supported SSH algorithms

The SSH engine is libssh2 with OpenSSL. Legacy algorithms are enabled so older switches and routers still connect.

Algorithms
Key exchangecurve25519-sha256, ecdh-sha2-nistp256/384/521, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1
Ciphersaes128/192/256-ctr, aes128/192/256-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour, arcfour128
MACshmac-sha2-256, hmac-sha2-512, hmac-sha1, hmac-sha1-96, hmac-md5, hmac-md5-96, hmac-ripemd160
Host keysssh-ed25519, ecdsa-sha2-nistp256/384/521, ssh-rsa, ssh-dss

Not supported: chacha20-poly1305, AES-GCM, encrypt-then-MAC (-etm) MACs and rsa-sha2-256/512 signatures. A server restricted to only those can't be reached. Session Info in the terminal menu shows what was negotiated.

The terminal

Keyboard bar

Esc and Ctrl are always at the start of the bar. The rest depends on the profile (Settings ▸ Keyboard Bar):

  • Network Gear: Tab, ?, ^C, Break (Ctrl-Shift-6), arrow pad; second page ^Z, |, /, -, _, :, ^D.
  • Linux, Custom, or Automatic (follows the device's template).

You can edit both pages of each profile from a catalog that includes Option/Alt, ^A ^E ^U ^W ^R ^L ^D ^Z, Home/End, Page Up/Down, F1–F12 and common symbols. With a hardware keyboard, a slim key strip can stay visible.

Appearance

  • Themes: follow system, GitHub Dark, GitHub Light, Graphite, Paper, Solarized Dark, Solarized Light, Dracula, Monokai.
  • Fonts: SF Mono, JetBrains Mono, Fira Code. Size 9–24 pt by slider or pinch.
  • Cursor: block, bar or underline, blinking or not. Bell: haptic, visual or none.

Find, copy and export

  • Find searches the scrollback (5,000 lines) with match count and next/previous.
  • Select text for Copy, Copy as Plain Text, SSH to This Address, Ping, Look Up OID or Save as Snippet.
  • Copy Output and Export Transcript… (a .txt file) are in the terminal menu.

Hardware keyboard shortcuts

ShortcutAction
<kbd>⌘</kbd> <kbd>T</kbd>New session
<kbd>⌘</kbd> <kbd>W</kbd>Minimize session
<kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>W</kbd>Disconnect
<kbd>⌘</kbd> <kbd>[</kbd> / <kbd>⌘</kbd> <kbd>]</kbd>Previous / next session
<kbd>⌘</kbd> <kbd>1</kbd>–<kbd>9</kbd>Go to session 1–9
<kbd>⌘</kbd> <kbd>F</kbd>, <kbd>⌘</kbd> <kbd>G</kbd>, <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>G</kbd>Find, find next, find previous
<kbd>⌘</kbd> <kbd>K</kbd>Clear scrollback
<kbd>⌘</kbd> <kbd>+</kbd> / <kbd>⌘</kbd> <kbd>-</kbd> / <kbd>⌘</kbd> <kbd>0</kbd>Bigger / smaller / actual size

Snippets

Snippets are saved commands you insert from the keyboard bar.

  • 19 built-in packs with more than 300 commands for Cisco IOS/IOS XE, NX-OS, Junos, Arista EOS, MikroTik, Linux and more. The device's template picks the matching pack.
  • Your own snippets: name, command, notes, device types, favorite, and Run on Insert.
  • Variables: show interface {{interface}} or ping {{target:8.8.8.8}} asks for values when you insert the snippet.
  • Mark a snippet Changes Configuration to get a confirmation before it runs.
  • Select text in the terminal and choose Save as Snippet.

Run on Devices (Pro) sends one snippet to several devices at once over SSH, up to 8 in parallel, and shows each device's output. Devices that need MFA, or whose host key changed, fail instead of prompting.

Sessions

  • The Sessions tab lists open sessions with a live preview. The session switcher shows them as cards.
  • Duplicate Session, Reconnect and Session Info (cipher, MAC, key exchange, host key fingerprint, sign-in method, server version) are in the terminal menu.
  • Several sessions can stay open at once (Pro).

When you leave the app

iOS suspends apps in the background. xInfra keeps connections open for about 30 seconds after you switch away; after that iOS may close them.

  • Auto-reconnect: when you return, each session is checked, and a dropped one reconnects (with a "Reconnected" divider in the scrollback).
  • Restore Sessions After Relaunch (on by default): after iOS ends the app, your sessions reopen with their last 64 KB of output, marked "Restored".
  • For long jobs on a server, use tmux or screen so the work continues while the phone is locked.

Connection settings

In Settings ▸ Defaults: default user name, connect timeout (5–60 s, default 15 s), keepalive interval (off, 15, 30, 60 or 120 s; default 30 s) and auto-reconnect. Per device you can also set keepalive, compression and environment variables (KEY=value). The terminal type is xterm-256color.

Telnet

Telnet works like SSH in the terminal, with a few differences:

  • Line ending: CR (default, right for most network gear), CR LF (servers) or LF.
  • Auto-login: if a user name and password are saved, xInfra answers the first Username:/login: and Password: prompts.
  • Window size and terminal type are negotiated (NAWS, TTYPE xterm-256color), so full-screen output fits.
  • Telnet is not encrypted. xInfra marks Telnet sessions as "Not encrypted"; use SSH where the device supports it.

Not supported

SFTP/SCP file transfer, port forwarding, agent forwarding, X11 forwarding and Mosh are not available.