Curious what folks are using to organise their remote connections? I liked WinSSHTerm and have tried replacing it with Remote Desktop Manager, but it seems a bit broken (fonts look terrible in a terminal, sftp doesn’t work, RDP sort of works, but it’s not great).

RDP is not a must. Folders, ssh, key auth, sftp and scp are the main things I’m looking for. Currently considering Remmina but though I would check if ppl have strong views on this topic before trying the next app.

I’m using cinnamon with mint 22.

  • Phoenixz@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    ssh.serverdomain scripts that immediately can do things like turn on the required vpn. In combo with SSH keys and non port 22, it’s ideal

    • markstos@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      For a shared set of hosts at work, you can check a shared SSH include file into got so changes to the cluster can be updated in one place.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      2 days ago

      This is the way. Even if you have a lot, it’s not hard to pull up a list of options;

      ❯ cat ~/.ssh/config | grep 'Host ' | awk '{print $2}'
      

      Or you can make it interactive;

      ❯ ssh $(cat ~/.ssh/config | grep 'Host ' | awk '{print $2}' | fzf)
      

      ez pz

      • A_norny_mousse@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        12 hours ago

        Meh. ssh<space><tab><tab> does the same.

        Also, useless use of cat. And grep.

        awk '/Host / {print $2}' ~/.ssh/config | fzf
        
      • elmicha@feddit.org
        link
        fedilink
        arrow-up
        9
        ·
        2 days ago

        Or just use completion: press tab once or twice after the ssh command (and a space). If that doesn’t work, install the bash-completion package.

        • A_norny_mousse@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          13 hours ago

          Shell completion ftw. Once you grok the double-tab you might start using the terminal more than your filemanager.

  • CocaineShrimp@lemm.ee
    link
    fedilink
    English
    arrow-up
    41
    ·
    2 days ago

    Not a GUI, but I keep my ~/.ssh/config clean by splitting my configs into folders, and including them in the main ~/.ssh/config.

    I have the folder, ~/.ssh/config.d/, and here’s what it looks like:

    ~/.ssh/config.d
    .
    ├── work
    │   ├── dev.config
    │   ├── staging.config
    │   └── prod.config
    └── server
        ├── development.config
        ├── containers.config
        ├── home.config
        ├── pis.config
        └── server.config
    

    Then my ~/.ssh/config looks like this:

    Include config.d/work/*
    Include config.d/server/*
    Include config.d/other/*
    
    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      Oh well that’s just sexy. Never knew ssh config recognized Include.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      2 days ago

      Cool, I did it with my git config a couple weeks ago, I didn’t know you could do it with ssh too.

      for those interested:

      [include]
      path = ~/.config/git/shared.ini
      path = ~/.config/git/dev-machine.ini
      path = ~/.config/git/aliases.ini
      path = ~/.config/git/self.ini
      
  • BrilliantantTurd4361@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    2 days ago

    The reason you are having trouble finding a replacement is because thats not really how the linux world approaches things.

    Learn the terminal, scp, ssh (esp key auth if you havent), sshfs, tmux, vim or emacs and you will find you are incredibly effective at modern admin tasks. If you havent already, look into something like saltstack or ansible to make your life even easier.

    • plumbercraic@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      2 days ago

      I use those tools already and have been administering Linux/bsd/docker for years. What’s new for me is using it as a desktop. The existence of scp, ssh etc dont solve this problem and while I find it interesting to learn how other admins are essentially making their own central console out of these components, it is a bit much seeing commenters insist that this is the same thing, or suggesting that anyone who wants a central console for their remote systems must be somehow incompetent. Sysadmins can have different workflow and tooling preferences.

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        16 hours ago

        Folders, ssh, key auth, sftp and scp are the main things I’m looking for.

        suggesting that anyone who wants a central console for their remote systems must be somehow incompetent

        IMHO that’s exactly what ~/.ssh/config using its Include directive as shown in https://lemmy.ml/post/29858248/18510482

               Include
                       Include the specified configuration file(s).  Multiple
                       pathnames may be specified and each pathname may contain
                       glob(7) wildcards, tokens as described in the “TOKENS”
                       section, environment variables as described in the
                       “ENVIRONMENT VARIABLES” section and, for user
                       configurations, shell-like~references to user home
                       directories.  Wildcards will be expanded and processed in
                       lexical order.  Files without absolute paths are assumed
                       to be in ~/.ssh if included in a user configuration file
                       or /etc/ssh if included from the system configuration
                       file.  Include directive may appear inside a Match or Host
                       block to perform conditional inclusion.
        

        from https://man7.org/linux/man-pages/man5/ssh_config.5.html

        So what I think people are highlighting is not that your need is wrong, rather that you rather than going back to fundamentals (e.g. lower command-line or even configuration here level stuff) you are looking for more complex and specialize tools. That tends to be reasonable in the Windows world where people are often looking for GUI but in Linux, started from Unix and thus CLI, this is a process that will often lead to disappointment. I believe people who are saying things perceived negatively here are pointing out, maybe poorly, a cultural difference that will be problematic in the future, thus why they are insisting.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        17 hours ago

        I’ve been using Linux for almost 30 years, and I agree with you completely. There should be a plethora of tools to organize SSH hosts, but unfortunately none of them are great, or at least I’ve never particular gelled with any. I just remember the hostnames and what user I happen to use for each, and copy my keys around, because I jump around between a lot of computers.

        I did use SSHwifty for a while because then I could just jump into a browser and go to a webpage with all of them. Dunno why I got away from that, it was handy.

    • plumbercraic@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      2 days ago

      A graphical interface to store and sort the remote connections. I have 20+ remote systems I need to maintain and apps like this provide tabbed experience like a browser to connect to them.

      • just_another_person@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        2 days ago

        If you’re dead set on a GUI for this, I guess you’d be in the minority which is why you’re probably not finding a lot out there.

        I think Remmina does this though, and it’s solid as an RDP client otherwise.

        • plumbercraic@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          2 days ago

          Yeah seems like Remmina is it. Termius looks nice but the price doesn’t make sense.

          Surprising that not many Linux sysadmins want a central console with folders for SSH, file copy and remote desktop connections.

          • Badabinski@kbin.earth
            link
            fedilink
            arrow-up
            11
            ·
            2 days ago

            I’ve yet to find anything more efficient than opening my shell and typing ssh or scp. Remote desktop is irrelevant to me because none of the systems I administrate will ever have a GUI.

            EDIT: tab auto completion also makes things far, far smoother.

          • just_another_person@lemmy.world
            link
            fedilink
            arrow-up
            9
            arrow-down
            1
            ·
            edit-2
            2 days ago

            As everyone keeps saying…it’s just not a thing that actual sysadmins or fluent users need. Using ssh configs is essentially the same thing that you’re looking for, but you’re just typing alias hostnames instead of clicking on them. Otherwise absolutely no difference. Not many people are connecting by IP address or anything like that.

            • plumbercraic@lemmy.sdf.orgOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              2 days ago

              It absolutely isn’t the same, but I appreciate learning that this is how many linux admins manage their connections.

              • Nibodhika@lemmy.world
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                2 days ago

                Why do you think it’s not? What feature would a GUI have that’s not trivial in a terminal?

                • plumbercraic@lemmy.sdf.orgOP
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  2 days ago

                  I’ve explained this at length?

                  Single app with unified hierarchy for all systems sorted by work, home, client, prod, staging. Within each you can choose to use SSH or VNC or RDP or SFTP or scp. When copying files there’s a side by side GUI so you can browse easily. I have done this using various apps in windows for 20 years and couldn’t imagine tracking all those servers/routers/devices without a central console.

                  It is obviously not the same as manually making all these connections and using different apps for each of them and backing them up with git.

      • ignoble_stigmas@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        You can have multiple ssh config files, with includes, to keep the configurations structured and organized, and not one long dump file, then use any gui terminal app that supports tabs. And tab+auto complete hostnames from the said configs. Some apps also support something like multiple profiles, so you can put there your ssh <host> command, if you want some gui lists. I follow this approach and it is very portable, as the only thing I need to care about are my config files.

        • plumbercraic@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          2 days ago

          I dunno. The folders keep things sorted between work and home. And within work each client. And within there the prod and staging systems are separated. I guess I could make separate scripts for each host but that’s kind of what I want the manager for. Also not sure how this covers the right click, copy files workflow of scp or sftp.

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        I have 20+ remote systems I need to maintain and apps like this provide tabbed experience like a browser to connect to them.

        I’ve found that if you’re using ssh then taking your hands off the keyboard to grab a mouse just to click a different tab is slow and annoying.

        I use a terminal multiplexer, tmux, and just keep different sessions open for each server that I need to connect to.

        leader = CTRL+b (you can change this but this is the default)
        
        leader s - Open session manager
        leader c - Open new window in the session
        leader 0-9 - Swap to Window 0-9
        leader % - Split screen vertically
        leader left/right arrow, move between split screens
        leader z - full screen the active screen
        leader d - disconnect from the tmux session
        etc
        
        tmux -a to re-connect to the tmux session
        

        There’s a ton of hotkeys and plugins that can handle essentially anything you’d like to do. Once you learn the few hotkeys (print a cheatsheet and force yourself to use the hotkeys).

        • plumbercraic@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Tmux is awesome. We’ve somehow fallen into using screen at work, I think just old habits. So yes, on the other side of the ssh connections there’s usually a series of screen sessions for us to join. Should try to move onto tmux - it is nicer.

      • A_norny_mousse@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Both: ssh config AND your fancy gui. Because most secondary and tertiary apps recognize the ssh config aliases. I know first hand Gigolo does.

        Or your file manager: enter sth like sftp://user@host_alias/home/user - after success, create a bookmark.

        • plumbercraic@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          I think I’m starting to see this workflow. I can use git to manage the files, then use bitwarden secrets for the keys if I want them backed up too. And once all the shortcuts are setup it can be made portable by syncing to another place with syncthing. Have to setup each link for each host with each app separately.

          Still think it seems like manually managing bookmarks using vim and storing them outside of the web browser.

  • suicidaleggroll@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 days ago

    How about XPipe?

    https://xpipe.io/

    It can even auto-configure itself by parsing out your ~/.ssh/config so you can keep everything defined there for easy CLI access but also use the GUI when desired.

    • flubba86@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      20 hours ago

      +1 for XPipe. This is pretty much exactly what OP is asking for. It also does SSH tunneling, SSH reverse-tunneling, manages connections into containers, and many other things.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    3
    ·
    edit-2
    2 days ago

    Uh, I just type ssh or rsync into the terminal and that’s it. It’s a manageable amount of computers/servers I connect to, so I can remeber their names. Regular ssh stores all the keys or custom ports / IPs in its config. What’s the advantage of using some manager?

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    XPipe is what I use, supports syncing via git, SSH, sftp, RDP, vnc, etc… And can manage docker containers too. It also has scripts you can define that automatically work on any SSH connection.

  • RandomChain@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 days ago

    I really like Asbru and have been using it for a couple of years. I used Remmina for a little while but never liked its look and feel. Not too much active development has been going on lately, sadly, but the latest version still works very well. https://www.asbru-cm.net/

  • Valon_Blue@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Use Tabby. It is, by far, the closest to a Linux terminal experience. Likely because it’s cross platform. I say this as someone that absolutely despises Windows terminal experiences.