Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Today in #FreeSoftwareAdvent it's the venerable ssh(1)/sshd(8)

Uncategorized
1 1 13
  • Today in it's the venerable ssh(1)/sshd(8)

    While I grew up in an age where telnet(1) was my only option, the ssh folks made it a pretty drop-in replacement for the sorts of things I did with telnet, so switching was easy.

    With the exception of when I'm rebooting or our ISP is having issues, I almost always have at least one SSH connection open and likely more than one connection to other hosts. Even in the "security" of our LAN in the house, I still SSH between machines rather than use unencrypted connections for transfer.

    I love being able to run things remotely and use them locally, such as

    $ ssh me@remote dmesg | xsel -ib

    to put the remote machine's dmesg output on my system clipboard or

    $ tar czvf - /path/to/data | ssh me@remote 'cd /destination/path ; tar xzf -'

    to transfer a directory tree to a remote machine.

    It generally has sensible defaults, allows me to force key-based authentication rather than username+password auth.

    It allows me to limit $DAYJOB customers to SFTP-only access within their designated chroot directories, insulating them from each other.

    I use it to tunnel into work and forward my RDP VM's screen so I can access it locally with rdesktop(1)

    So many delightful little uses.

    Definitely worth reading @mwl's SSH book to learn more: https://mwl.io/archives/3126

  • stefano@mastodon.bsd.cafeundefined stefano@mastodon.bsd.cafe shared this topic on

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @rubenerd @exchgr also, note that weather app has all the things I probably wouldn't have bothered doing on a small throwaway project because they're tedious: Good test coverage, every static analysis option possible, nice packaging and automatic deployment to the server when tagging a release via Github actions. All that would have taken me days to write by hand, even though that's exactly the kind of stuff I do every day at work, versus a few minutes of prompting and occasionally correcting.

    read more

  • @aeva ahh I see, makes more sense knowing about swipe. I never did figure that out myself, heh.

    read more

  • @rubenerd @exchgr I could have built the weather app in...maybe 3x-4x the time it took? But, I probably wouldn't have, because I didn't want it three or four times more than that amount of effort.

    I've got two other much larger projects that haven't really launched yet, that have also taken remarkably less time than I would have required doing it myself.

    I hate being "rah rah AI", but I'm not going to lie on the internet about it when I know it's gotten really good at writing code.

    read more

  • @johnlogic I’d remove the AA and the “just classes” from education. If you’re concerned about gaps, you already call it “career impact” so it doesn’t have to be complete.

    read more

  • @GhostOnTheHalfShell

    By posting on here, tapping into my social network is exactly what I'm trying to do.

    I've heard that weak ties can be the most powerful, especially when job seeking.

    I also have a pretty extensive professional network, as I volunteer for the world's largest technical professional organization, IEEE.

    read more

  • @rubenerd @exchgr I was dragged into it by my employer, as I like having health insurance, but it works. Over the holidays I built a bunch of stuff (an absurd amount of stuff), more working code than I've ever written in such a short time in my life. I wanted a weather app without ads, so I built one in a couple of hours. https://wthr.lol/ (And, if you're curious about code quality, it's here: https://github.com/swelljoe/wthr.lol )

    I've used it to find bugs in huge projects and build from scratch.

    read more

  • @aeva *it turns out, sometimes the juice is not worth the squeeze

    read more

  • @rubenerd @exchgr yeah, I read all the studies and felt quite smug about AI, as well. And, then I actually built some stuff and found some bugs with current gen frontier models, and my priors were upended.

    I'm not saying I like it, as it's going to cause a tremendous amount of disruption, and not in a good way, given who holds every leadership position in government and industry right now. But, I simply can't pretend it doesn't work, anymore, because I've seen it with my own eyes.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    8 Views
    Today in #FreeSoftwareAdvent it's pandoc(1).I author most of my prose in raw HTML (something I've done since the 90s, stemming from my appreciation of WordPerfect's "Reveal Codes" functionality), or occasionally I'll use Markdown. It's nice to just hand the file off to pandoc and get some other format (PDF, Word, RTF, plaintext, whatever).Is the output flashy? Not really. Is it what I would get if I hand-crafted the desired output document? No. But does it let me lazily do conversions with basically zero effort? Yep!
  • 0 Votes
    1 Posts
    11 Views
    well today's #FreeSoftwareAdvent is a bit bittersweet.Back at the beginning of the month, I plotted all the projects on my remind(1) calendar, grouping various categories together. Two days ago, lynx¹, yesterday was Dillo², and today it was supposed to be #Firefox. Yet this week has been full of sad Firefox news, with them ignoring users' desires to keep AI rubbish out of the browser (or at least relegated to an optional plugin)The browser that I started using as Netscape, grew to be Communicator, that kinda became Phoenix, then shed the non-browser functions off to Thunderbird (already got mentioned³) and became Firefox. Despite the rise of Chromium/Chrome, I still use Firefox as my daily driver web-browser for the modern web (rather than the *pleasant* web where lynx & Dillo serve me much better).What used to be a "User Agent" has become something that no longer puts the *user* first. 😢 So in this time of wishes and gifts, I wish that the Firefox leadership team would take a strong look at what they're doing and change their course.⸻¹ https://mastodon.bsd.cafe/@gumnos/115735221496156078² https://mastodon.bsd.cafe/@gumnos/115740808963678498³ https://mastodon.bsd.cafe/@gumnos/115684337296307283
  • 0 Votes
    1 Posts
    4 Views
    Following on the heels of ssh(1) yesterday, today's #FreeSoftwareAdvent is rsync(1).It's one of the key elements in my podcast listening (more on that to come later this month), where my podcatcher pulls down podcasts into a backlog tree structure, and I rsync the whole thing to my phone for listening. It also undergirds my blog deployment, building in Nikola (still gotta find some time to switch that to my custom Makefile driven build process) and then rsync'ing the output/ tree up to my web-server.And last night our teen wanted our family photo website content's pictures for a school project, so I was able to rsync the latest copy of them to a backup USB drive that he could browse offline.It's reliable and does a particular job (keeping two directory trees in sync) very well. Yes, ZFS send/receive is more efficient if both sides support it and they're whole datasets, but that's not always the case.Also, since I use bash as my shell, the "^" substitution makes it easy to issue something like$ rsync -n -avr $SRC $DESTand if it looks good, use$ ^-nto remove the dry-run flag and run it for real.
  • 0 Votes
    1 Posts
    8 Views
    Today's #FreeSoftwareAdvent entry: ledger(1) & hledger(1)I primarily use ledger use for my #plaintextaccounting purposes¹ but try to mostly keep my data-files in a form that hledger can process them too.Getting started involved a crash-course in accounting terms, but the use of positive/negative numbers (rather than "debits" and "credits" which always bugged me; though both have ways of specifying that output should be in credit/debit format) eased the transition.While it started a little tedious, a few helper-scripts and shell-functions simplified adding new common entries and gave me lazy access to common reports.I still struggle a little bit with closing the books (I though I'd figured it out, and documented it², but had some hiccups so I'll need to revisit my documentation in January)But it's been incredibly helpful to see and track our household net worth, spot trends, keep tabs on gift-card balances that would otherwise get forgotten, track invoices sent to clients, and it simplifies balancing the checkbook monthly.⸻¹ http://plaintextaccounting.org/² https://blog.thechases.com/posts/closing-out-the-books-in-ledger/