I’ve been working on a project that I need constant access (and executing commands) among at least 3 hosts in work. I’ve been using SSH’s Host function to manage which host I’m connecting to. However, I find it increasingly annoying that I can’t see which host I’m connected to via the tab on my terminal emulator (I’m using Windows Terminal on Windows and Konsole on Linux).
Is there a good SSH GUI client that can show which host a session is connected to? I’ve tried Termius. But $10 per month is too expensive to me for what I’m doing (and I don’t need most of the paid feature).
We make the prompt be user@hostname so no matter what you use it shows what host you’re on. This is configurable in .bashrc iirc.
I might also recommend tmux, there’s a script you can use to also set prompt in the window view. Though this is best used as a jumpserver setup.
Two ways come to mind.
One is tmux. The other is editing your .bashrc (I’m assuming your shell is bash, adjust accordingly if it’s a different shell) to have relevant info in your prompt (common is username@hostname).
Oh. also Windows Temrinal supports themes, and you can configure different commands to run when opening a given shell.
Mobaxterm has many more features than what you’re asking for. You might not use anything else after using it.
Setting the terminal title is done through a standard escape sequence: https://unix.stackexchange.com/a/177598
If it’s not working, make sure your terminal emulator is set to something like xferm, and that your console host program recognizes this sequence (which Konsole and Windows Terminal should).
Take a look at Remmina. Modular and can be used for ssh, rdp and vnc.