Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Unixwiz

    unixwiz.net · Personal blog · on HN since 2007

    Steve Friedl's Unixwiz site hosts illustrated technical guides on SSH, DNS, cryptographic hashes, SQL injection, and C declarations, plus consulting advice.

    Visit blogHN submissions
    SecurityNetworkingCareer & Work
    What HN says

    Commenters call his work excellent, recommending his SSH agent forwarding guide, his consulting essay, and his x86 calling convention notes.

    Stats for nerds
    77HN people shared it
    41linked in comments
    1.1Kstory points
    Jun 2026last shared
    2011people per year2026

    Top posts on HN

    1. 1
      So you want to be a consultant?
      22 people · 534 points · first shared 2007 · 42 comments on HN
    2. 2
      How to read C type declarations (2003)
      11 people · 156 points · first shared 2013 · 131 comments on HN
    3. 3
      "No Dashes Or Spaces" Hall of Shame
      2 people · 105 points · first shared 2008 · 62 comments on HN
    4. 4
      An Illustrated Guide to Cryptographic Hashes
      7 people · 86 points · first shared 2009 · 11 comments on HN
    5. 5
      An Illustrated Guide to SSH Agent Forwarding
      12 people · 75 points · first shared 2010 · 8 comments on HN
    6. 6
      An illustrated guide to the Kaminsky DNS vulnerability (2008)
      8 people · 37 points · first shared 2008 · 6 comments on HN
    7. 7
      Chroot – Best practices (2002)
      1 person · 20 points · first shared 2015 · 1 comments on HN
    8. 8
      So you want to be a software engineering consultant?
      1 person · 14 points · first shared 2011 · Discussion on HN
    9. 9
      SQL Injection Attacks by Example
      5 people · 11 points · first shared 2008 · Discussion on HN
    10. 10
      An Illustrated Guide to IPSEC
      3 people · 3 points · first shared 2011 · Discussion on HN

    What HN people wrote when they linked it

    • throw0101aJul 2020

      > Teleport handles the auth at its entry point, so you don't need a keypair for every node in your cloud. Just one for Teleport.

      From ssh(1):

      -J destination
      Connect to the target host by first making a ssh connection to
      the jump host described by destination and then establishing a
      TCP forwarding to the ultimate destination from there. Multiple
      jump hops may be specified separated by comma characters. This
      is a shortcut to specify a ProxyJump configuration directive.

      Auth to the jump/bastion host and then have key(s) on that, or tunnel back the internal auth requests over to your desktop via ssh-agent(1) forwarding:

      * http://www.unixwiz.net/techtips/ssh-agent-forwarding.html#fwd

      * https://www.cloudsavvyit.com/25/what-is-ssh-agent-forwarding-and-how-do-you-use-it/

    • userbinatorNov 2014

      I think C declaration syntax is a bit of an acquired taste --- it looks confusing at first but once you "get" it everything falls into place and it feels completely natural. Arguments that it is difficult to read because it is not "left to right" contrast with the fact that the expression syntax is not "left to right" either in most programming languages; 2 + 3 * 4 parses as 2 + (4 * 3) in most languages that use this syntax.

      Also worth mentioning that the "clockwise/spiral rule" that this article links to for reading C declarations is actually wrong, as Linus Torvalds helpfully points out here: https://plus.google.com/111049168280159033135/posts/1ZhdNwbjcYF

      This is probably a better article for understanding them: http://www.unixwiz.net/techtips/reading-cdecl.html

    • daurnimatorJan 2016

      The default settings are bad for the majority of sysadmins. See http://unixwiz.net/techtips/ssh-agent-forwarding.html#sec

      With the ssh-agent defaults, if I have root/sudo access on a server you are logged into with ssh on, I practically have free use of your private SSH key.

      I use gpg's ssh-agent emulation (See the man page for gpg-agent under --enable-ssh-support), and store my ssh private key on my yubikey. With this setup, the yubikey's light flashes when something wants to use my private key, and you can just touch the button on it to approve.

    • snMar 2014

      I agree with everything except using ssh-agent to forward the key. The reason is that if that one server is compromised, the root user can forward your credentials to any other server that you have access to and if it is set up the same way, also get root there. If you use password for sudo authentication on that machine, they have your password but still don't have your credentials to get into the other server. Reference: http://unixwiz.net/techtips/ssh-agent-forwarding.html

    • SharlinOct 2017

      Definitely subjective. It's easy to argue that it's actually the C family of languages that have a backwards declaration syntax - in case of complex declarations, not just backwards but completely crazy inside-out zigzag [1]. Yes, there's a logic in it, but it's definitely not intuitive. On the other hand, the "type-on-the-right" syntax is quite popular outside the C family. Pascal, Ada, Go, Scala, Rust...

      [1] http://www.unixwiz.net/techtips/reading-cdecl.html

    • AsymetricComOct 2013

      The original vuln that invited in this kludge:

      http://unixwiz.net/techtips/iguide-kaminsky-dns-vuln.html

      The solution to this kludge?

      > What has ANSSI done to improve the security of the DNS?

      > ANSSI led a 4 months alert campaign, warning DNS software vendors and critical DNS operators (such as the root operators and several TLD operators).

      aka, nothing, more kludge, push complexity off onto clients.

    Related

    Beejbeej.us233 people

    Beej's Guide to Git

    Beej
    Personal · last shared 2026
    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    RIPE Labslabs.ripe.net104 people

    Don't Terminate People's Internet Connections

    RIPE Labs
    Company · last shared 2026
    Daniel Miesslerdanielmiessler.com241 people

    It’s Time to Get Back to RSS

    Daniel Miessler
    Personal · last shared 2026
    Naked Securitynakedsecurity.sophos.com740 people

    Serious Chrome zero-day

    Naked Security
    Company · last shared 2023
    Stack Abusestackabuse.com28 people

    A SQLite Tutorial with Node.js

    Stack Abuse
    Company · last shared 2024
    F5 DevCentraldevcentral.f5.com42 people

    HttpFox: The FireFox add-on you can't live without

    F5 DevCentral
    Company · last shared 2021
    Thomas Ptaceksockpuppet.org155 people

    I Went to SQL Injection Court

    Thomas Ptacek
    Personal · last shared 2026