What is new in Kubexer Terminal: Kubexy command bar, remote editor, X11 and more
Most features in a terminal app are not big. They are the point where you used to do something clumsy and now you do not. Here is a round-up of recent additions to Kubexer Terminal, with what each one needs and which plan it belongs to, so there are no surprises.
Ask for a command in plain English
You know what you want and not the flags. Click into a terminal and press ⌘⇧K (macOS) or Ctrl+Shift+K (Windows and Linux). A bar opens at the bottom of the pane. Type something like "find files over 1GB modified this week" and Kubexy answers with one command, a one-line explanation, and a risk rating: Safe, Caution (changes files, processes or packages, or needs sudo) or Dangerous (deletes data, wipes disks, force-pushes and the like).
The rating is not only the model’s opinion. Kubexer checks the command itself too, and shows whichever of the two is stricter. You then choose: Insert puts the command on your prompt without running it, Run runs it immediately (not offered for Dangerous commands), or Copy. Follow-ups such as "only in /var/log" refine the answer. The command only goes to the pane you opened the bar in, even if broadcast input is on.
What Kubexy is told: your request, the operating system, shell, whether the session is local or SSH, the current folder for local shells, and your last few commands, with obvious secrets masked first. Host names, addresses and credentials are not included.
Explain this error
A command that exits with an error gets a red bar in the margin. Hover over its output and click Explain, or right-click and choose Explain this error. A panel opens with what went wrong, the likely cause, and suggested fixes, each with Insert and Copy. Kubexy never runs a fix itself.
It sends the command, exit code and output, cut to about 8 KB while keeping the beginning and the end, and masks recognisable secrets such as private keys, AWS keys, bearer tokens and password= style values first. The panel footer names the provider the output went to. It depends on Kubexer’s shell integration, so it works in bash and zsh, locally and over SSH.
Both features are part of Kubexy, a Pro feature, and use the provider and API key you set in Settings → Kubexy. Without one, the bar links you there.
Edit a remote text file without leaving the app
In the SFTP browser, double-click a text file (or press Enter, or right-click and choose Edit). It opens in an editor tab, and ⌘S saves it back over SFTP. The text lives in memory; nothing is written to your local disk.
The details are the useful part. Before saving, the editor checks whether the file changed on the server since you opened it, and offers Overwrite, Reload or cancel, instead of silently clobbering someone else’s edit. Where the server allows it, a save writes a temporary file and swaps it into place, so a dropped connection does not leave half a file; symlinks, files owned by another user and servers without atomic rename are written in place, and permissions are kept either way. Files that look read-only open read-only with an Edit anyway option. Line endings and a UTF-8 byte order mark are preserved.
The limits: files up to 5 MB, UTF-8 text only (binary or Latin-1 files are refused rather than risk corrupting them). The remote editor is a Pro feature; without it, double-click downloads the file.
From files to a shell in the same folder
You are browsing a host’s files and want a shell right there. Right-click a folder and choose Open in Terminal; a new tab opens on the same host, with the same credentials and jump chain, already in that folder. On a file it starts in the folder that contains it, and on empty space it starts in the folder you are viewing. With several items selected the option is disabled, since there is no single folder.
One limit: it is disabled for Windows hosts, because Windows OpenSSH runs cmd or PowerShell, which cannot take the start-in-folder command. A host’s OS is detected the first time you open a terminal to it.
While files are moving, the status bar also shows live Rx and Tx speed across all SFTP connections, sampled once a second, so you can tell a slow link from a stalled transfer. It appears when a transfer starts and hides shortly after the last one finishes. Both are free.
Run a GUI app over SSH
X11 forwarding opens a remote Linux app’s window on your own computer, which is useful for the occasional virt-manager, wireshark or Java installer. You set it per host: Default, Off, Auto (forward when an X server is running here) or Always (and say why if it cannot work). When it is live the tab shows an X11 badge with a count of connected GUI apps.
The recent change is on Windows: Kubexer Terminal now includes an X server (VcXsrv) that starts the first time a remote app opens a window and stops when you quit, so there is nothing to install. You can turn that off to use your own X server. On macOS you need XQuartz, and the tab offers a button to get it; on Linux any graphical session works. On the server you need X11Forwarding yes in sshd_config and the xauth package.
Forwarding gives the server a path onto your desktop, so use it with servers you trust. Your real X cookie never leaves your computer; each session gets a random one-time cookie. An optional sandbox mode gives remote apps an untrusted cookie so they cannot read other windows or log keystrokes, at the cost that a few apps misbehave under it. X11 forwarding is a Pro feature.
Back and forward between pages
Kubexer Terminal and Kubexer for Kubernetes now keep a page history, so moving from a host to its SFTP tab to settings and back works like a browser. On macOS use ⌘[ and ⌘]; on Windows and Linux use Alt+Left and Alt+Right. Mouse side buttons work, as do the Windows browser keys and the macOS trackpad swipe. The shortcuts stand down wherever they already mean something: inside a code editor, a focused terminal (where Alt+arrows move by word or switch panes), a text field, or an RDP or VNC session that has the keyboard. It is free.
How many hosts use this identity?
Identity cards in a vault now carry a small badge: "N hosts", counting the hosts in that vault that use the identity. Identities with no hosts show a muted badge, so the leftover keys and passwords stand out. It is a quick check before you rotate or delete one, and it pairs well with Access Profiles, whose generated keys are saved as identities. It counts hosts in that vault only, and it is free.
In short
None of these is a headline feature. Together they remove a lot of small round trips: to a man page, to vim, to cd, to an X server installer, to the sidebar. The command bar, error explanations, remote editor and X11 forwarding are Pro; Open in Terminal, transfer speed, page navigation and identity badges are free.