Home
Docs/Terminal Linux & SSH

Terminal Linux & SSH

FreePremium (advanced)

Native Linux terminal with bash, Python and Node.js built in, plus a full SSH client with key authentication, SFTP and port forwarding.

Native Linux terminal

No extra installation needed. Pocket Code includes a complete Linux environment ready to use:

bash
$ node --version
v20.11.0

$ python3 --version
Python 3.12.2

$ bash --version
GNU bash, version 5.2.21

$ python3 my_script.py
Hello from Pocket Code!
  • bash, Python 3 and Node.js available without setup
  • Full access to the project file system
  • Command history and Tab autocomplete
  • Configurable environment variables

SSH: connect to servers

The Free plan allows 1 saved SSH host. The Premium plan removes the limit.

Add a connection

  1. 1Open the Terminal module and go to the SSH tab.
  2. 2Tap "+" to add a new host.
  3. 3Enter: hostname or IP, port (22 by default) and username.
  4. 4Select authentication method: password or SSH key.
  5. 5Save and tap to connect.

SSH key authentication

Settings → SSH → New key
# Pocket Code genera la clave internamente.
# Copia la clave pública y añádela a tu servidor:

$ cat ~/.ssh/authorized_keys
# Pega aquí tu clave pública Ed25519
  • Supported types: Ed25519 (recommended), RSA, ECDSA
  • Keys are stored encrypted on the device (Android Keystore)
  • Import existing keys from clipboard or file

SFTP: remote file browser

The built-in SFTP browser lets you manage server files without leaving the app:

  • Browse the server file system with swipe gestures
  • Download files to the device's local storage
  • Upload files from the device to the server
  • Edit remote files directly in the integrated editor
  • Create, rename and delete files and directories

Premium features

FeatureFreePremium
Native Linux terminal
Saved SSH hosts1Unlimited
Simultaneous SSH sessions1Unlimited
SFTP
Key authentication
Active port forwards1 tunnelUnlimited
Split terminal (panels)14
Command snippets10Unlimited
Broadcast input
Keyboard macros
Expect rules / Watchdog