toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

300
active users

#SSH

8 posts8 participants1 post today

My desk at work. So far, it's the most optimal setup. The main #workstation is a triple monitor setup, with the middle and right monitors are 4K. The left monitor is standard hi-def. My laptop can function as a fourth display. Portrait mode in 4K is simply incredible for #terminal and #ssh work. All mounted on a standing desk.

I use the dual monitor system on the left as a secondary on-prem machine and remote jump box. The monitors are just standard hi-def, but still plenty of real estate.

Portrait mode is underrated.

@stefano

Just found the following comment in backup script of mine which made me chuckle but kind of still makes sense:

This is a little odd: I cannot purge the backups on *** (at least I did not manage to find a way) due to the dockerized nature of the OS... Therefore, I do a push purge and a pull sync via fuse, [...]

#ssh

1) a public key is better described as a "lock". Read this somewhere today, and thinking of your public key as a lock that other people can build into stuff is so much more intuitive.

2) public keys should have no extension (e.g. id_rsa) and private keys should (e.g. id_rsa.private). This would make the first autocomplete right 99.9% of the time.

Man, #ssh never ceases to amaze me.

Just learned (after 15years on #linux) that you can execute a command on a remote host using the ' ' convention.

E.g.; ssh root@host 'date' will 1) start a connection, 2) execute date on the remote host 3) return the output of date 4) and finally close the connection.

Even better you can pipe things to the command. So echo "dog" | ssh root@1.x.x.x 'wall' will send the word "dog" to all logged in users.

I should have assumed something like this exists

As #NetworkManager's #SSH VPN/tunnel plugin has now been ported to GTK4 and works directly from the #GNOME Control Center panel, I thought I'd finally try it out.

Once you figure out that you must only fill the gateway field, leave all IPs fields alone, tweak stuff in the Advanced dialog to have a working SOCKS proxy with "no tunnel", then it "works"… as long as you use the standard SSH port.

With SSH server ports other than 22, it fails on #Fedora… due to #SELinux 🤦

bugzilla.redhat.com/show_bug.c

bugzilla.redhat.com1808435 – AVCs on establishing an SSH tunnel connection with NetworkManager-SSH