Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ssh

 ssh

Presented at the SAGE-AU Meeting in Sydney on 15 November 2011

Christian Heinrich

January 09, 2012
Tweet

More Decks by Christian Heinrich

Other Decks in Technology

Transcript

  1. SSHell :)
    [email protected]
    SAGE-AU - Sydney - 15 November 2011

    View Slide

  2. Disclaimer
    These slides are my own and not
    representative of any specific implementation.
    Consider these lessons learned so that you
    don’t repeat the same mistakes.

    View Slide

  3. whoami
    http:/
    /www.linkedin.com/in/ChristianHeinrich
    1. Windows (MCSE)
    2.Slackware (August 1998)
    Linux 1.x Monolithic Kernel
    3.OpenBSD and Gentoo
    4.Ubuntu (LiveCD) and OS X

    View Slide

  4. Secure File Transfer
    At Rest
    PGP/GPG, X.509, etc
    In Transit
    SCP/SFTP (SSH), HTTPS (SSL/TLS), etc
    National Privacy Principals (NPP)

    View Slide

  5. OpenSSH - History
    1. Free SSH v1.2.12 by Tatu Ylönen of ssh.com
    2.OpenSSH v1.2.12 in OpenBSD 2.6
    ftp:/
    /ftp.pdc.kth.se/pub/krypto/ossh/
    Support Protocol SSH v1.3
    3.OpenSSH (SSH v2) in OpenBSD 2.7
    4.ssh.com attempts “chilling effect”

    View Slide

  6. Usage - sshscan
    OpenVMS
    Convert OpenSSH Key Format

    View Slide

  7. Windows
    Recommended SSH Server

    View Slide

  8. Transiting from FTP
    1. scp
    sftp HERE Document
    2.Public Key Auth or ssh-pass
    no passphrase
    ssh-agent or keychain
    Don’t use HTTPS/SSL
    cron

    View Slide

  9. passphrase vs password
    Decrypts SSH Key

    View Slide

  10. ssh-pass
    SSH Public Key Auth preferred

    View Slide

  11. keychain
    SSH_AGENT_PID=/tmp/ssh-XXXXXXXX/agent.pid

    View Slide

  12. SFTP
    1.sftp [email protected] << SFTP
    2.put *
    3.bye
    4.SFTP
    scp is preferred
    i.e. wildcards are static
    HERE Documents

    View Slide

  13. Questions
    Latest Slides available from:
    http:/
    /www.slideshare.net/cmlh
    https:/
    /github.com/cmlh/ssh
    Contact Information: http:/
    /cmlh.id.au/contact

    View Slide