Contents
- What the phone is doing and what is still running on the server
- Installing and preparing a local vault
- Profile: address, port and account must not be interchanged
- First connection: server identity first
- User authentication with key or password
- First safe commands and comfortable control
- Use SFTP and the editor according to account permissions
- Network outage, sleep and completion of administrative work
- Frequently asked questions
App screenshots

What the phone is doing and what is still running on the server
The SSH client on your iPhone or iPad establishes a secure connection to a remote server. Commands in the connected terminal are then executed by the server under the logged-in account. This is not local Linux inside the phone. So when you type sudo or rm, you are changing the remote machine, not the sandboxed application. Before each important command, confirm which server and under which account you are working.
For basic administration, you need an SSH client, server address and port, network path, and approved credentials. iOS file sharing alone is not a replacement for an SSH terminal. If the server requires VPN or access from a specific network, the phone must also meet this requirement. Public domain does not automatically mean publicly allowed administration.
CH-J Tools Mobile is a standalone SSH and SFTP client; the desktop application is not required to connect. The details in this guide are based on the released 0.0.4 series. However, the Android package and the builds available via TestFlight may differ. For iOS, always check the actual version and features of the installed build, not just the number listed in the description of another platform.
Installing and preparing a local vault
For iPhone and iPad, use the official TestFlight invitation and requirements shown for the specific beta build. Test builds have limited availability and may expire. Therefore, it is a good idea to also have an independent path for managing important servers that is not dependent on a single phone and the current beta. A random IPA file from another site is not an equivalent distribution path.
When you first launch, create a local Vault and choose a strong, unique master password. The vault password, private key passphrase, and remote account password are different pieces of information. Knowing one will not automatically recover the others. Before storing important keys, consider recovering them and making a secure backup; your phone may be lost, damaged, or wiped.
Biometric unlocking is a more convenient way to access under application and device conditions, rather than a new copy of the keys on the server. In the 0.0.4 series, locking the vault disconnects SSH. Therefore, do not plan to work in such a way that a locked application will silently maintain all administrative sessions. Verify the behavior of the installed version when switching applications and locking the display.
Profile: address, port and account must not be interchanged
Add a server and fill in its name for your convenience, DNS name or address, username, and actual SSH port. Port 22 is common, not required. If the administrator uses a different public port or NAT, use their verified information. The host field does not include the entire HTTPS URL with the path to the web administration.
Název profilu: Linux test
Host: server.example
Port: 22
Uživatel: spravceThe values given are examples. Avoid ambiguous names like server2 if you manage both production and test environments. Good naming helps prevent hitting the wrong machine on a small screen. A DNS name can resolve to both IPv4 and IPv6; the two paths may have different routing and firewalling.
When importing CH-J Tools Mobile profiles, you do not automatically retrieve passwords, private keys, or trusted host fingerprints. The profile JSON is a list of connections, not a full backup of the vault. After importing, set up authentication and re-trust the server. Successfully retrieving profile names does not in itself prove usable access.
First connection: server identity first
Before accepting a host key, compare its fingerprint with the trusted data of the administrator or the provider console. A fingerprint obtained from the same unauthenticated connection does not in itself confirm that the counterparty is genuine. The DNS name and the familiar graphic appearance of the login dialog may be spelled correctly and still lead somewhere else.
# Na již důvěryhodné konzoli Linux serveru, pro odpovídající typ klíče:
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pubThe server may offer several types of host keys. Compare the one the client presents and their algorithm. A random difference between RSA and Ed25519 is not suitable to be solved by blind acceptance. If a known key changes later, it may be a reinstallation, a change of target, or a security problem. First, find out the cause through an independent channel.
Changing an already trusted key in a verified mobile build will break the connection. So don't promise yourself a fix by confirming a common change notification somewhere. If your version doesn't have a supported procedure for managing stored trust, follow its support. Deleting the entire vault is not an appropriate first diagnostic response.
User authentication with key or password
Use a method that the server actually allows. For a key, the public part belongs to the account authorization on the server and the corresponding private part to the protected client. Porting a private key is not a way to install a public key on the server. When importing, verify the format, type, and fingerprint of the selected key and protect any temporary exports.
The Keychain section and its offerings belong to the 0.0.4 series; older TestFlight builds may not have them in the same form. Support for generating an algorithm also does not mean support for logging in with that algorithm. The mobile SSH library of this series does not support post-quantum authentication or ML-KEM exchange, although the application can generate and export some keys.
Enter the server password only when you expect authentication of the correct account. If the login ends with Permission denied, verify the account, authorized key, allowed methods, and server record. Changing the network port will not fix this error on its own. Conversely, retyping the password repeatedly will not resolve a timeout before user authentication.
First safe commands and comfortable control
After logging in, start reading commands. Confirm the host, user, current directory, and system status. The mobile keyboard may change quotes, insert spaces, or hide part of a long line. Read the entire command before sending it. Also, check the text you copy for unexpected extra lines.
whoami
hostname
pwd
uptime
free -h
df -hA terminal with PTY allows for interactive programs, but some require convenient access to Ctrl, Esc, Tab, and arrow keys. CH-J Tools Mobile offers a help bar; check the mapping for your external keyboard. For your particular editor or console, check the exit method before changing the configuration. Ctrl-C and closing the application are generally not the same as safely completing your work.
On the iPad, you can use a larger window and keep instructions or notes side by side, depending on the supported layout. However, the orientation is still determined by the selected server. In a single active SSH session of this mobile series, do not expect desktop-like bulk command execution or automatically synchronized terminals of all profiles.
Use SFTP and the editor according to account permissions
File overview uses SFTP over SSH. Start in your home directory and verify read. Sudo privileges gained in the terminal do not automatically carry over to SFTP operations. Therefore, uploading and saving a configuration file are not identical. For a file that is being modified by another administrator, compare versions first.
Release 0.0.4 can offer editor saving via sudo with change tracking for selected Linux scenarios. It is not a universal privileged browse or read of all files. Also consider overwrite protection when transferring an existing target. Verify the exact limitations of your version on a harmless test file before working with a production configuration.
A file saved via System Files may reside with a cloud provider of your choice. A local SSH application alone does not guarantee that the export will never leave your phone. For private keys, backups, and sensitive logs, select the destination explicitly and verify the copies after the transfer.
Network outage, sleep and completion of administrative work
Switching between Wi-Fi and cellular can break a regular TCP connection. Additionally, background apps are subject to iOS rules. Keepalive cannot send queries from a process that has been suspended by the system, nor can it itself move a dead connection to a new address. Therefore, separate long-running tasks from the phone's lifetime with a suitable server mechanism.
# Pokud je na serveru připravený tmux:
tmux new -s sprava
# Odpojení od tmux: Ctrl-b, pak d
# Po novém SSH přihlášení:
tmux attach -t spravaTmux is not a backup and will not normally survive a server restart. It helps to preserve interactive work when the client disconnects. When you return, do not blindly repeat the last change command: it may have run out without any visible response. Check the actual status and the relevant log. When you are finished, log out of the session, lock the vault, and keep a secure record of the result without passwords or private keys.
Frequently asked questions
Do I need to install the CH-J application on the server?
For regular SSH and SFTP, no. The server needs the corresponding SSH access enabled; the client connects directly.
Does the iPhone automatically have the same features as Android 0.0.4?
Not necessarily. TestFlight may offer a different approved build. Verify the version and its features directly in the installed app.
Why can't I connect to a known server after changing the key?
The client protects the trust you have placed. First, independently determine the reason for the change; it is not advisable to bypass the warning by disabling the check.
Will SSH survive a phone lock?
This cannot be relied upon in general. It depends on the system and application; in the described series, Vault locking also disconnects SSH.
Detailed documentation
CH-J Tools Mobile: official mobile site →
Apple: installation and lifecycle of TestFlight builds →
OpenSSH: login and host authentication →