Hacker Public Radio

HPR4327: Chatting with Sgoti


Listen Later

This show has been flagged as Explicit by the host.

Chatting wth Sgoti
Sgoti talks about SSH and Github.
  • openbsd: PreferredAuthentications \

    • Specifies the order in which the client should try authentication methods. \

    • gssapi-with-mic,hostbased,publickey,keyboard-interactive,password

      • openbsd: HostKeyAlgorithms \
      • $ssh -Q HostKeyAlgorithms;
        ssh-ed25519
        ssh-rsa
        rsa-sha2-256
        rsa-sha2-512
        ssh-dss
        ecdsa-sha2-nistp256
        ecdsa-sha2-nistp384
        ecdsa-sha2-nistp521
        • openbsd: IdentitiesOnly \

          • Specifies that ssh(1) should only use the configured authentication identity and certificate files (either the default files, or those explicitly configured in the ssh_config files or passed on the ssh(1) command-line), even if ssh-agent(1) or a PKCS11Provider or SecurityKeyProvider offers more identities. The argument to this keyword must be yes or no (the default). This option is intended for situations where ssh-agent offers many different identities. \
          • Sample ssh config. \

            #Github Primary Yubikey
            Host github
            User git
            HostName github.com
            Port 22
            IdentityFile ~/.ssh/github-yubikey-0
            #Github Secondary Yubikey
            Host github
            User git
            HostName github.com
            Port 22
            IdentityFile ~/.ssh/github-yubikey-1
            #Global properties.
            Host *
            PubkeyAuthentication=yes
            PreferredAuthentications=publickey,keyboard-interactive
            [email protected],ssh-ed25519,rsa-sha2-512
            #ssh-ed25519
            #ssh-rsa
            ssh-keygen -t ed25519-sk -C "[email protected]" -f ~/.ssh/github-yubikey-0;
            ssh-keygen -t ed25519-sk -C "[email protected]" -f ~/.ssh/github-yubikey-1;
            chmod --change =400 ~/.ssh/github*; #Owner only!
            • lawrencesystems: SSH with YubiKey FIDO U2F Authentication. \

            • yubico: YubiKey 5 Series \

            • github: Generating a new SSH key and adding it to the ssh-agent. \

            • EOF

              Provide feedback on this episode.

              ...more
              View all episodesView all episodes
              Download on the App Store

              Hacker Public RadioBy Hacker Public Radio

              • 4.2
              • 4.2
              • 4.2
              • 4.2
              • 4.2

              4.2

              34 ratings


              More shows like Hacker Public Radio

              View all
              The Infinite Monkey Cage by BBC Radio 4

              The Infinite Monkey Cage

              1,963 Listeners

              Click Here by Recorded Future News

              Click Here

              418 Listeners

              Hacker And The Fed by Chris Tarbell & Hector Monsegur

              Hacker And The Fed

              167 Listeners