Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Ssh host keys
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. Virtual host/local host PAM File problem!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 03-01-2006, 01:38 PM
  2. Keys don't do what they should...
    By Xellos in forum Windows - General Topics
    Replies: 1
    Last Post: 02-04-2005, 08:11 PM
  3. gpg keys
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 08-25-2004, 02:32 PM
  4. Question about SSL keys
    By Epsilon in forum Linux - General Topics
    Replies: 2
    Last Post: 06-03-2003, 12:49 AM
  5. What to do with spare keys?
    By Feztaa in forum General Chat
    Replies: 6
    Last Post: 03-21-2002, 03:41 PM

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
  •