quickssh

Sessions

A session is a target to connect to. Depending on its type it opens as a terminal, a file manager or a remote desktop. For database records see Databases.

Route

Every session has a route:

quickssh add-ssh web --host 10.20.0.15 -u deploy --vpn acme
quickssh add-ssh db  --host 10.20.0.9  -u postgres --jump web
quickssh edit-ssh db --direct          # remove the hop

SSH

You can authenticate with a password, a key file or a pasted key; if none is given, ssh tries its own default keys.

In the terminal tab:

To run a single command without any prompts:

quickssh exec web -- df -h /

Temporary access (agent)

With a small script (quickssh-agent) installed on the target, each connection gets its own key, which is deleted when the connection closes. No permanent password or key is stored for the target. The server prints the install command with quicksshd agent-setup; tick Temporary access in the session.

SFTP and FTP

File sessions open as a full-size file manager.

quickssh add-ssh archive --sftp --host 10.20.0.30 -u web --vpn acme
quickssh add-ssh site    --ftp --tls --host ftp.example.com -u web
quickssh fs ls archive /var/www
quickssh fs get archive /var/www/index.html .
quickssh fs put archive ./report.pdf /var/www

Remote desktop (RDP)

RDP sessions open inside the app as tabs. The server connects to the target; only the picture reaches your computer.

quickssh add-ssh accounting --rdp --host 10.20.0.40 -u 'ACME\accounting' --vpn acme --ask-password

On first use the server downloads the image of the service that makes the connection. Since most RDP servers use self-signed certificates, certificate verification is off by default.

Editing, grouping, deleting

Save, Cancel and Delete stay fixed in the bar at the bottom of the record page. Deleting asks for confirmation.

quickssh show web
quickssh edit-ssh web --port 2222 --tag prod --rename front
quickssh group set Acme front db
quickssh rm front

You can't delete a session while other sessions use it as a hop.

Remote desktop: RDP and VNC

Connect to Windows remote desktops with RDP, and to Linux desktops, kiosk screens and embedded devices with VNC. In both cases the server connects to the target; only the picture reaches your computer, never the password. The session opens as a tab in the app; mouse, keyboard and clipboard work.

Macros: parameters, progress and stopping

Parameters. A macro can ask you for values when it runs. Write [[QUICK_SSH_PARAMETER_NAME]] where the value goes in the command (for example useradd -m [[QUICK_SSH_PARAMETER_USERNAME]]). When you start the macro, a window asks for these values; what you type replaces the placeholder with leading and trailing spaces removed. In the Parameters card on the macro's edit page you can make a parameter optional; left empty, the placeholder becomes empty text. The values you enter are not logged, only the parameter names are.

Progress. The Macros panel next to the terminal shows the running macro's name, which step it is on and that step's command; the running macro is highlighted in the list. Only one macro runs on a server at a time: while one runs, others can't be started.

Stopping. Pressing the running macro again or Stop asks for confirmation. Once stopped, the remaining steps are not sent; the command running on the server at that moment is not interrupted and runs until it ends.

Name. You can rename a macro on its edit page; names may also contain characters like &, / and parentheses.

Names

Give sessions and VPN profiles any name you like: capitals, spaces, non-English letters ("Web Prod 2 (Internal)"). quickssh derives an internal name from it (web-prod-2-internal); if that internal name already exists, it appends a short id. The internal name is used on the command line, in permissions and in files, and never changes again; you can change the display name whenever you like. You'll find the internal name on the record's page under the name field and in the output of quickssh ls.