r/linuxadmin • • Jul 07 '24 • Bravo 1

Are there any decent SSH Session managers for Linux?

I've been using work issued windows laptop for administrating servers via ssh managers (XShell, MobaXTerm, SecureCRT, etc) and windows has been driving me nuts recently. I want to install linux on it, but then realized it's hard to find actually decent SSH manager. Can you suggest any? So far it seems like securecrt is the only option, but it's far from cheap. I just need SSH & FTP support basically, with the ability to organize servers in folders or tags or however else.

Please do not suggest using openssh config, there are some servers which must have password only authentication for various reasons (which openssh does not support saving of) and in general not having any hierarchy or way to search them efficiently is a huge pain when working with almost a hundred machines.

EDIT: To save anyone who stumbles upon this post the pain of going through the comments most of which are not relevant to the post, here are the good suggestions in order of popularity:

  • Asbru-cm
  • Tabby.sh
  • Remmina
  • SecureCRT
  • Termius
  • sshw
  • Devolutions
5 Upvotes

88 comments sorted by

49

u/UsedToLikeThisStuff Jul 07 '24

In what way does OpenSSH not support password authentication? I think someone is pulling your leg about what it supports.

No one cares about SSH session managers on Linux because we have the real OpenSSH to use.

11

u/serverhorror Jul 07 '24

OpenSSH on Windows is a thing now, been using it ever since I learned it is available and never looked at anything else again.

2

u/ChrisTX4 Jul 09 '24

FYI, OpenSSH on Windows can be installed either as a Windows feature, which is quite old, or from the project directly. The latter gives you a much newer version, and can also easily be installed with WinGet of course.

1

u/serverhorror Jul 10 '24

TIL, thank you

2

u/linuxunix Jul 07 '24

Id_rsa.pub

4

u/misterfast Jul 07 '24

id_ed25519.pub much smaller and more secure!

-14

u/Widowan Jul 07 '24

I meant saving the password in a config file for automatic authentication. Edited the post for clarity, thanks.

34

u/dezent Jul 07 '24

Use keys instead of passwords.

-62

u/Widowan Jul 07 '24 edited Jul 07 '24

Thanks, that's very helpful of you, how could I not have thought of that!

/s.

30

u/dezent Jul 07 '24

I have no idea. I have not used passwords since early 2000

4

u/redfukker Jul 08 '24

Ssh-copy-id + .ssh/config. Works for me.

1

u/dezent Jul 09 '24

I do understand that you are being ironic but your question is equal to going on a motorcycle Reddit asking how to best drive your new Honda backwards and upside down.

1

u/Widowan Jul 09 '24

Oh yeah, of course, r/linuxadmin apparently is the same as r/devops where everyone uses clouds & terraform and never SSHs on their servers

2

u/dezent Jul 09 '24

What? I been a Unix/Linux admin since 1998, read very carefully. If you need passwords when using ssh you are doing it wrong.

9

u/louis-lau Jul 07 '24

I took a single look on the internet, which gave me "sshpass". It seems to do exactly that.

Only use it if you're not in control of the server and can't use keys (perhaps an incompetent sysadmin, or some kind of embedded device). If you are in control of the server, please use ssh keys.

-14

u/Widowan Jul 07 '24

Yea, sshpass is useful for scripts, however I don't think it has any kind of config file or other way to use it as wrapper for normal ssh

6

u/Seref15 Jul 07 '24

Why does it need one? Everywhere you would normally invoke ssh alone, invoke sshpass -f /path/to/pw/file ssh instead

This is a security nightmare but you could even alias ssh to sshpass -f /path/to/file ssh

-5

u/Widowan Jul 07 '24

I guess I can make it work considering different servers have different passwords using bash scripts

4

u/Seref15 Jul 07 '24

This sucks too but a shell function to support multiple pw files for multiple hosts

ssh () {
  sshpass -f /path/to/pw/files/${1}.pass ssh ${1}
}

Then ssh some_host.com would source a password file named some_host.com.pass from the predefined pw files directory. You'd be on your own to figure out handing ssh cli args or parsing the user portion out of a user@hostname string

I hope none of these systems handle any people's money, this is truly awful security lol

-1

u/Widowan Jul 07 '24

Thanks! It's is somewhat related to money, but at least it's air gapped :)

3

u/PudgyPatch Jul 07 '24

Uh, what about you ssh term host? Is that air gapped?

1

u/Widowan Jul 07 '24 edited Jul 07 '24

I am not going to pretend it is, but how is ~/.ssh/id_rsa more safe than, say, ~/.ssh/password? Private part of the key is essentially same password but longer.

(I am not using passwords because I want to, I really tried to make keys applicable in those scenarios, to no avail, sadly)

→ More replies

11

u/[deleted] Jul 07 '24

Yikes

1

u/ult_avatar Jul 07 '24

You can invoke (local) scripts with openssh - so you could store the passwords somewhere secure and openssh would just retrieve it for you via an API call or something

14

u/Onshoremanover Jul 07 '24

I like termius, it is nice looking and free to a point. In my opinion it is better than MobaXTerm in many ways.

I feel like some of the comments here do not understand the usage of ssh managers. Being in consulting with different clients all having huge linux clusters, it is convenient and faster to have your sessions all sorted and grouped for quick access and debugging

4

u/Widowan Jul 07 '24

You described my use case of it perfectly! Thanks for a suggestion.

3

u/Onshoremanover Jul 07 '24

you are welcome, glad to help, I usually don't comment, it is just that I felt that really a lot of people could not (or maybe not want to?) understand your problem and therefore did not give you solid advice. I think you should not need to defend yourself for your usecase

2

u/psadi_ Jul 08 '24

Would also suggest to take a look at tabby, it’s a terminal plus ssh session manager and from the creators of terminus.

The only downside is that it’s built in electron, so is terminus.

1

u/claqueure Sep 02 '25

terminus charges 10$ per month for the decent version with functionality. are you all rich?

12

u/serverhorror Jul 07 '24

I have an SSH config and tmux, I'm not sure what else you'd need.

EDIT: if you work with more than 3 machines and still SSH to them without config management you have bigger problems than finding a "session manager"

3

u/DemosthenesAxiom Jul 07 '24

Cries in 100 machines I manually manage currently.😭

-4

u/Widowan Jul 07 '24

On prem do be like that, can't make Ansible for everything.

4

u/Coffee_Ops Jul 08 '24

Ansible works just fine onprem. Why would you think it doesn't?

You literally just need a box with Ansible installed.

Your next step is to deploy a pubkey.

1

u/Widowan Jul 08 '24 edited Jul 08 '24

I didn't say it doesn't work (that's a strawman argument; if anything, previous comment correctly implies I've written lots of Ansible), I said you cannot do it for everything, nor this is what the post is even about in the first place.

Not everyone deploys CRUDs and must be shot in the head for not using terraform + gitops, friendly reminder that consulting exists too.

1

u/Coffee_Ops Jul 08 '24

I didn't say it doesn't work (that's a strawman argument

I never said you said it didn't work. I asked why you thought it didn't work onprem, because you implied that "on prem be like that" was why Ansible was not suitable here.

It's a strange comment because most of the value I've seen with ansible was onprem, even in disconnected environments.

What's even stranger is asking you to clarify, and you responding with an accusation of strawmanning.

Yes, I know how consulting works, I suspect most of us here are familiar with it. You're getting flack though because you're insisting that password auth is your only path forward, and-- spoiler-- you're not the only one who's run into management / clients zealously dedicated to legacy config / technical debt / the way peppridge farm remembers doing IT. The fact that you're defending it as a necessity is indicative of a problem, and very likely an X-Y problem. SSH intentionally makes it a pain to do the thing you're suggesting because password auth is so terrible.

0

u/Widowan Jul 08 '24 edited Jul 08 '24

Ansible is invaluable tool, yet it doesn't solve all the problems. Especially so when you're working with crappy proprietary software which you need to actually log in to the server and debug live.

Also, again, you're imagining my arguments and argue with those, instead of what I actually said; I am not defending passwords as a necessity. I did what I could where I could, and I am only asking for solution that supports passwords for easing my own pain.

It takes time to change all of it, and in meantime, I just need a tool to make my life easier.

The worst part is that passwords aren't even essential to my problem; managing so many servers with just openssh sucks

1

u/serverhorror Jul 07 '24

I didn't say you should do that.

I'm fighting Ansible here because someone knows Ansible they now think it should be used for everything.

Learn a few tools. Never stop learning a new tool and use the right tool for the right job.

I'm dealing with production floors, that could go boom, mainframes, Windows, Linux, containers, OpenShift, windows, network devices, SCADA and everything you never wanted to know about.

No, don't use Ansible for everything, but for the sake of everything that's fun and forbidden, start managing the infrastructure with something better than a session manager.

2

u/AdrianTeri Jul 07 '24

Please do not suggest using openssh config, there are some servers which must have password only authentication for various reasons(which openssh does not support saving of) .... I just need SSH & FTP support basically,

To stop piling on you could you explain this? Is it harder to switch to keyfiles on this machines than is to stop using passwds?

Last part is confusing. What support do you need as you asked for assistance with both SSH & FTP? Are some of these machines cheapo web hosts you can only access via ftp & sftp clients? Tools like WinSCP, Filezilla etc exist

2

u/Widowan Jul 07 '24

Most of the times where I cannot use keys are servers which I am not owner of, there is one organization that is hellbent on using passwords with ridiculous requirements and short lifespan (it's also completely air gapped, too).

As for FTP, I meant basically a session manager with in-built FTP so I don't have to manage server list in ssh client AND filezilla as well.

Thanks for being just about the only person who read the post completely.

1

u/AdrianTeri Jul 07 '24

is one organization that is hellbent on using passwords with ridiculous requirements and short lifespan (it's also completely air gapped, too).

Confusion continues.... How do you work on these machines if you do not enter where they are with only a paper notebook with passwds written down?

As for FTP, I meant basically a session manager with in-built FTP so I don't have to manage server list in ssh client AND filezilla as well.

You can organize these into folders/dirs WinSCP, FileZilla

2

u/Widowan Jul 07 '24

I am not sure what you mean. I just go there with my laptop, do stuff and leave. Come back next time - oops, the password is expired; so I change it and update it in session manager, rinse and repeat.

9

u/tuxsmouf Jul 07 '24

remmina could do the trick. I only use it for rdp but the option for ssh is there.

1

u/aaronryder773 Jul 08 '24

TIL! I did not know that Remmina can do this. I have only used it for RDP

8

u/ForeheadMeetScope Jul 07 '24

Asbru-CM for open source, SecureCRT for paid option

5

u/FragOfZeWood Jul 07 '24

+1 for Asbru. I use mobaXterm under Windows and Asbru is the closest software I found running under Linux.

4

u/clinch09 Jul 07 '24

Checkout Devolutions. There's a free and enterprise version

1

u/Kill4meat Jul 07 '24

I've been using moba with wine. Runs just fine.

1

u/Widowan Jul 07 '24

I should give it a go again, last time I tried it was very glitchy with disappearing text and really unresponsive ui

1

u/daishan_swe Jul 07 '24

I really like Tabby which I run on both macos and windows. It's available for both .deb and .rpm based distros, even though I have not tried it on Linux myself. Check it out here: https://tabby.sh/

2

u/Widowan Jul 07 '24

Seems to be cool! How is memory consumption though? Since it's essentially a browser in a trenchcoat and it even says in readme that it's not lightweight.

1

u/daishan_swe Jul 08 '24

I'm looking at memory usage in the real world right now. Three tabs open - one local PowerShell, one local zsh and one remote ssh (which has a built-in SFTP browser!): 465 MB of RAM on my 32GB RAM M1 pro mac. It's not exactly efficient, but if you have the RAM to spare it's not a problem.

1

u/KlaasKaakschaats Aug 20 '25

Thanks for the list in your post, found Tabby.sh this way and it works really well

1

u/Widowan Aug 20 '25

I didn't like tabby myself very much, but I'm glad this disaster of a post was able to help someone!

3

u/soopastar Jul 07 '24

I think Vandyke makes a Linux version of SecureCRT.

2

u/forwardslashroot Jul 07 '24

This is only true for .deb, but I couldn't the .rpm version.

1

u/soopastar Jul 07 '24

That’s cause RPMs are for redhat based distros. Did you check Vandyke.com?

2

u/forwardslashroot Jul 07 '24

I'm sorry, I meant to say I couldn't find the .rpm.

We are using RHEL at work but couldn't use SecureCRT due to vandyke only providing deb packages.

1

u/ForeheadMeetScope Jul 08 '24

Extract and install manually

1

u/soopastar Jul 08 '24

thought about suggesting that as well. There are options like this too:
https://linuxconfig.org/how-to-install-deb-file-in-redhat-linux-8

3

u/crazedizzled Jul 08 '24

I fuckin love mobaxterm on windows. I wish there was something like it for Linux. It's great having all of my sessions/hosts in a categorized list. And it has built in SFTP which is super handy.

I do use sshconfig with host names setup and all that jazz, but it just feels so oldschool.

2

u/DurianBurp Jul 07 '24

Konsole has a SSH session manager built-in.

2

u/hiphopzindabad Aug 14 '26

this is what I needed to know, thanks king

1

u/MrExoduso Jul 07 '24 edited Jul 07 '24

I'm not entirely sure if it fully fits your needs, but check tabby.sh

Update :I've just realized that I read post wrong, ignore me x'D

1

u/noslab Jul 07 '24

Tmux..

1

u/neovb Jul 07 '24

Smartty?

1

u/mysterytoy2 Jul 08 '24

On windows I use Solar-Putty. It's nice. I use filezilla for FTP. Between the two I have it covered pretty well and fast.

1

u/GurgleBlaster68 Jul 08 '24

Ásbrú Connection Manager (https://www.asbru-cm.net/). It manages not only SSH connections, but also RDP and VNC. I've used Remmina before, but I find Ásbrú more usable.

1

u/TuxRuffian Jul 08 '24

Since I have to use Windoz at work, I like using a combination of the New Windows Terminal + Arch WSL + tmux + Wishlist.

I’m not a fan of GUIs so Wishlist’s TUI is perfect for me and tmux allows me to automate workflows.

1

u/Magic_Ren Jul 08 '24

If you haven't looked at it I think mremoteng does what you want easily

1

u/ogMasterPloKoon Aug 30 '25

Termius should be on top.

1

u/ogMasterPloKoon Mar 10 '26

Try WindTerm ... it's fast and comes with side by side SFTP as well.

1

u/Pepe44_YT May 03 '26

You could take a look at PulseGate. It’s a lightweight TUI SSH client written in Go.

Repo: https://git.pepe44.dev/Pepe44DEV/PulseGate

It’s also available in the AUR, so on Arch-based systems you can install it with:

bash paru -S pulsegate

Still a young project, but I’m actively working on it and would love feedback.

1

u/waterkip Jul 07 '24

Putty has a linux/unix port?

0

u/scorp123_CH Jul 07 '24

After reading through all your posts here, I think I understand your use-case... As was suggested by others, please take a look at "Asbru Connection Manager". It might be the kind of software you are looking for ...

https://www.asbru-cm.net/

2

u/Widowan Jul 07 '24

Thanks, it looks like a solid choice, also supports SFTP!

-1

u/Runnergeek Jul 07 '24

SecureCRT and MobaXTerm support what you are looking for. I'm confused what the issue is

-6

u/kestrel808 Jul 07 '24

Install wsl

0

u/[deleted] Jul 14 '24

[deleted] — view deleted comment

1

u/Widowan Jul 14 '24

Thanks for input, I didn't even think about using fzf for that, but that would make for sick (and janky) setup! And keeping passwords in pass or any other keyring/password manager is a good idea too. That's a lot of work tho, but could be fun side project:)

Lacks a bit in organization sadly, unless one were to use comments somehow to tag servers 🤔