this post was submitted on 20 Oct 2023
29 points (89.2% liked)

Linux

48135 readers
602 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Is Termius the only cross platform emulator that includes Android as one of the platforms? It is quite good, in my limited experience, but too expensive for a hobbiest. I like that I can use my Linux desktop, MacOS laptop, and Android tablet/phone and the UX is the same across them all. The sync (trial for free, then charge) is great. But I'd be fine if it was something where I could DIY a sync method with something like Syncthing.

I'm aware of the likes of Alacritty, but no mobile app. And of course Termux is great for mobile, but no desktop versions.

It all boils down to wanting some sort of sync function either DIY or otherwise that includes hosts and SSH keys and while not as important, I do like the consistent UX between platforms. Is there something else to consider?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)

Why can't you use native clients under Windows, Mac and Linux then? Use what your platform offers for the best experience. I do this and sync my ssh config file with Syncthing.

In iOS we can't have Syncthing so I've to use https://panic.com/prompt/ and live with it.

[–] [email protected] 2 points 1 year ago (1 children)

That is not something I had considered. That the config files are universal. So that helps quite a bit. I'll have to look into setting that up. I read elsewhere that some check theirs into github and sync from there.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

SSH config is versatile, what I do is keep a simple .ssh/config file like this in every machine that isn't synced:

Host *
  IdentitiesOnly no
  AddKeysToAgent yes
  IdentityFile "machinexyz-key-file"

Include "~/Preferences/ssh/config"

This file will simply configure it to use the IdentityFile of this machine and import another file that has the actual host definitions at ~/Preferences/ssh/config - that is the one I sync with Syncthing. This gives a nice way to customize settings for each machine (key path and whatnot) while keeping a global file with in sync between all of them.

For reference here is ~/Preferences/ssh/config:

Host *
  IdentitiesOnly no
  AddKeysToAgent yes

host server1
  hostname x.x.x.x
  user xxxxx
  port 1111

host server2
  hostname x.x.x.x
  user xxxxx
  port 2222
[–] [email protected] 2 points 1 year ago

Oh that's very helpful, thank you.