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 3
  • 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
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    Today in #FreeSoftwareAdvent it's lynx(1). Which is amusing because it's been scheduled for today on my calendar since the beginning of the month, but @neil chose to share links(1) today as well, for many of the same reasons. 😆It's been around for decades—I used it to browse gopherspace (and maybe WAIS?) in the 90s via a 1200 baud dial-up connection to a shell account and later the nascent WWW when it arrived.Sadly, ClownFlare, Google, and anti-AI-bot/scraper tech has made many formerly-accessible-with-lynx sites now inaccessible, some blocking by User-Agent, some blocking due to the lack of JavaScript support.But it has the right amount of usability and friction, so I can use it from my command-line-only writer-deck netbook to do a little research or read some HTML documentation, without getting sucked into the modern web.My custom configuration puts it in Advanced mode (no help-bar at the bottom), specifies vi-key-bindings, a custom color-scheme, uses links-and-form-fields-are-numbered making it easy to jump to them, and text-fields-require-activation so I don't get stuck in text input boxes when using j/k to scroll up/down in the document.I also have a couple shell wrapper-functions to invoke lynx on particular URLs (Wikipedia, dictionary/thesaurus/rhyming resources, web search, etc) with the CLI arguments filled in.I also have mutt configured to show text/html messages in lynx (either using `lynx -dump` and the internal pager, or using `m` from the attachments menu to view it interactively)
  • 0 Votes
    1 Posts
    5 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/
  • Today it's awk(1)

    Uncategorized freesoftwareadvent
    1
    0 Votes
    1 Posts
    3 Views
    Today it's awk(1)I use it almost daily—from simple column-extraction (specifying column separators and mashing together various columns feels easier with awk than with sort(1)), to summing and running totals, to aggregating counts of data, to reformatting text, etc…so many little uses pop up.It's available on every POSIX platform making it easy to write cross-platform utilities without having to install additional run-times like Python/Ruby/Node and the heavy dependencies that come with them.I've even written cgi-bin/ scripts in awk, allowing dynamic data processing on my stock OpenBSD systems with httpd+SlowCGI without non-stock software in the chroot.https://blog.thechases.com/categories/awk/#FreeSoftwareAdvent
  • #FreeSoftwareAdvent

    Uncategorized freesoftwareadvent inkscape
    14
    3
    0 Votes
    14 Posts
    5 Views
    @TerryHancock Which distros hate #VLC? I always found it available in #Debian!