rescueshell Start trial

ssh_config ProxyJump generator

Fill in the jump host and the target, and this page writes the ~/.ssh/config block, the matching ssh -J command and, if you paste a host key, the known_hosts line. You copy the result and review it before it goes anywhere near your config.

Nothing you type leaves this page: the generator makes no request, sets no cookie and stores nothing, and it never writes to a file. It does not connect to anything, scan anything or install anything; you paste the result yourself. The site's usual cookie-free page count still loads, as on every page, and it never includes what you type.

Review before you paste

The generator only accepts plain names, numbers and paths, and refuses anything that could add another option or a new line. It still cannot know your setup. Read the block, check that no existing Host entry already uses the same name, and then append it to ~/.ssh/config.

It never writes ForwardAgent, StrictHostKeyChecking or UserKnownHostsFile. A key file adds IdentitiesOnly yes and nothing else. The one-liner uses your default keys and agent, so use the config block when you need a specific key file.

ProxyJump, not agent forwarding

ProxyJump (ssh -J) logs in to the jump host and has it open a TCP connection to the target. Your session to the target runs inside that connection, so the jump host passes bytes along and never holds your keys. Agent forwarding lets the jump host use your agent while you are connected, so this page does not generate it.

When the target is behind NAT

A jump host can only open a connection to a target it has a path to. A device in a home, at a customer's site or on a mobile link has none until it builds one. The second mode covers that case: the device runs ssh -R to the jump host, which then listens on a loopback port that leads back to the device. See SSH jump host for devices behind NAT and SSH NAT traversal. To find out whether you are behind CGNAT in the first place, use the CGNAT checker.

HostKeyAlias and known_hosts

With HostName localhost and a tunnel port, known_hosts records the host as [localhost]:22022. If that port is later used for another device, you get a host key warning, or a real change goes unnoticed because the entry looks familiar. HostKeyAlias makes ssh use the alias as the name in known_hosts instead, so each device has its own entry.

If you leave the key box empty, nothing is invented. You can accept the key on first connect, or fetch it with ssh-keyscan run on the jump host. The generator shows the exact command once the form is filled in. ssh-keyscan reports whatever answers, so compare the fingerprint with the one on the device, from ssh-keygen -lf on its host key file, before you trust it. The fingerprint checker works out the fingerprint of a key you paste and compares it with another, in your browser.

Or skip the jump host

RescueShell is a hosted relay: the device dials out over HTTPS, nothing comes in, and you open the shell from a browser, so there is no jump host or tunnel to run. The first device is free to try with no card, for 30 days from when it connects, not from when you sign up. Start a trial.