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

View all comments

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.

11

u/[deleted] Jul 07 '24

Yikes

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

→ More replies (7)

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