Results 1 to 3 of 3

Thread: Ssh host keys

  1. #1
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Ssh host keys

    How do you generate sshd host keys? Sshd complains about not having the host key files in /etc/ssh. I'm trying this in Gentoo, where emerge did not generate the host keys. Debian did it for me. Man pages did not mention how to create the keys.

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    411

    Re: Ssh host keys

    Do you have sshd starting at bootup or are you launching it from the command line? If the latter, are you root?

  3. #3
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Re: Ssh host keys

    I found out (after a search) you have to do ssh-keygen -t type -f /etc/ssh/ssh_host_key without using a password. This puts the host keys in the proper directory. Without them, sshd will not start. For some reason Gentoo does'nt generate them for you when you emerge the package, as does Debian.

    Thanks for the reply though.

Similar Threads

  1. Windows 2000 Hardware Compatibility List
    By regix in forum Windows - General Topics
    Replies: 11
    Last Post: 01-04-2005, 08:20 AM
  2. repair the Windows registry keys of PowerPoint
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 01:05 AM
  3. Microsoft Office Keyboard Review
    By genesis in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 11:50 PM
  4. Ssh brute force
    By Outlaw in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 09-11-2004, 07:37 PM
  5. dynamic hosting service probs
    By in forum Linux - Hardware, Networking & Security
    Replies: 11
    Last Post: 12-10-2001, 09:20 AM

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
  •