this post was submitted on 15 Jul 2023
11 points (86.7% liked)

Sysadmin

5612 readers
1 users here now

A community dedicated to the profession of IT Systems Administration

founded 5 years ago
MODERATORS
 

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).

top 15 comments
sorted by: hot top controversial new old
[–] jmp242@sopuli.xyz 7 points 1 year ago

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.

[–] Brkdncr@kbin.social 5 points 1 year ago (1 children)

Mobaxterm has many more features than what you’re asking for. You might not use anything else after using it.

[–] charliegrahamm@lemm.ee 1 points 1 year ago

Agreed here.

[–] DarraignTheSane@lemmy.world 5 points 1 year ago

mRemoteNG has always been my go-to. Supports multiple remote protocols, though I've typically only used it for SSH and RDP. Tabbed interface, save a list of endpoints with the connections configs, etc. SSH just runs an instance of putty within the program, so it's pretty straightforward.

[–] hitmyspot@aussie.zone 4 points 1 year ago

Have you tried putty?

[–] netburnr@lemmy.ml 3 points 1 year ago

Bull blown client... mobaxterm.

Or just use screen and a custom screenrc config to name your tabs.

[–] SheeEttin@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

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).

[–] rammer@sopuli.xyz 3 points 1 year ago

You definitely should put username@hostname in your prompt. This has saved me from so many mistakes. And if your shell supports it use red if the user is root.

[–] rolaulten@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

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.

[–] foxfell@lemmy.ml 1 points 1 year ago

Take a look at Remmina. Modular and can be used for ssh, rdp and vnc.

[–] inspxtr@lemmy.world 1 points 1 year ago

I believe with tmux, you should be able to do that, and even set up an automatic session with 3 ssh connects with named already configured. Hope that helps!

[–] hawkwind@lemmy.management 1 points 1 year ago
[–] Fraction9869@aussie.zone 1 points 1 year ago

I’d recommend the free edition of Remote Desktop Manager by Devolutions. It’s way more features than your current use case so it definitely as the room to grow if you want to expand the connection types you are using.

It will do connection and credential management, our primary use is for RDP but also use it for web sessions and SSH.

[–] scarecrow365@reddthat.com 1 points 1 year ago

We use RoyalTS and I've been very happy with it. I've used mRemoteNG and Mobaxterm in the past, and there really isn't much that would have me switch back. Plus, it supports plenty of other protocols besides SSH, so more of our teams can leverage it.

[–] Spazztastik@lemmy.world 1 points 1 year ago

This tool I just found out about the other day and it’s still early in development but has some awesome features and some huge time savers built into it!

https://github.com/xpipe-io/xpipe/

load more comments
view more: next ›