Results 1 to 4 of 4

Thread: Encrypting SSH host keys?

  1. #1

    Question Encrypting SSH host keys?

    Is it possible to encrypt SSH host keys so that a password is requested at the SSH server startup?

  2. #2
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Encrypting SSH host keys?

    Generally you are prompted with a password anyhow, if you use sudo.
    Code:
    sudo /etc/init.d/ssh start
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

  3. #3

    Re: Encrypting SSH host keys?

    Quote Originally Posted by Dr Small View Post
    Generally you are prompted with a password anyhow, if you use sudo.
    Right, that doesn't mean that the keys are encrypted however...

  4. #4
    Join Date
    Nov 2006
    Location
    40.31996,-80.607213
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Encrypting SSH host keys?

    Correct. You could however encrypt the host keys with GPG, and then edit the init.d script to decrypt the keys before it starts SSH.
    "Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
    Linux User #441960 | Wiki: DrSmall

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •