this post was submitted on 20 Oct 2023
31 points (89.7% liked)
Linux
47345 readers
1295 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Oh, I wasn't talking about the phrasing, just the fact that SSH Keys and hosts tend to be just files used by one of hundreds of programs a terminal emulator displays, not really different from having your terminal emulator sync the RSS-Feeds in your terminal RSS reader or the bookmarked folders in your terminal file manager.
It seems you are talking about some sort of bookmark system to open a terminal and start SSH for a specific host directly though?
Yes I suppose that is right. I hadnt considered that the hosts would also be stored locally. Termius' home screen has my saved hosts arranged by alias and I tap on whichever server I want and it connects without password because I already set up ssh keys. And if I add a new host it syncs with the other instances of the app on my tablet, phone, laptop, and desktop. In fact, it's so handy that I often reach for my android tablet with attached keyboard to fiddle with the servers.
A similar system can be achieved using a synced
.ssh
folder, along with a.ssh/config
file. The folder will have all the keys, and the config file will have the aliases aka bookmarks. Then you can do something likessh media_server
, and login without entering a password.For the actual terminal emulators, I can recommend Alacritty for desktop OSes and Termux on Android.
Or you could use a separate key on each device.