Bug 94112

Summary: FreeBSD Handbook: 14.11.2 Enabling sshd
Product: Documentation Reporter: Pierre-Paul Lavoie <ppl>
Component: Books & ArticlesAssignee: jcamou
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
chapter.sgml.diff none

Description Pierre-Paul Lavoie 2006-03-05 22:40:04 UTC
From FreeBSD handbook section 14.11.2

[quote url=http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssh.html]

This will load sshd(8), the daemon program for OpenSSH, the next time your system initializes. Alternatively, you can simply run directly the sshd daemon by typing sshd on the command line.

[/quote]

Typing sshd on the command line gives:

    sshd re-exec requires execution with an absolute path

Typing /usr/sbin/sshd solve this.

Also, afaik, it's very likely that if the user didn't select sshd at install time there will be no ssh keys. It would probably good to mention how to properly create the key at this point.

You also need to be root when launching sshd.

ppl

Fix: 

Replace sshd with /usr/sbin/sshd
Comment 1 Daniel Gerzo 2006-03-06 16:37:37 UTC
Hello,

   I think that this is a good place to show users that we have a nice
   rc scripts, so mention using it to start OpenSSH. This will actually
   cover the step with generation of the ssh keys.

-- 
Kind Regards,
   Daniel Gerzo
Comment 2 jcamou freebsd_committer freebsd_triage 2006-03-06 19:26:50 UTC
State Changed
From-To: open->closed

The documentation has been updated. 
Thanks for the submission. 


Comment 3 jcamou freebsd_committer freebsd_triage 2006-03-06 19:26:50 UTC
Responsible Changed
From-To: freebsd-doc->jcamou

Set me as responsible.