docs/94112: FreeBSD Handbook: 14.11.2 Enabling sshd

Pierre-Paul Lavoie ppl at nbnet.nb.ca
Sun Mar 5 22:40:06 UTC 2006


>Number:         94112
>Category:       docs
>Synopsis:       FreeBSD Handbook: 14.11.2 Enabling sshd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 05 22:40:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pierre-Paul Lavoie
>Release:        6.0
>Organization:
>Environment:
>Description:
>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
>How-To-Repeat:

>Fix:
Replace sshd with /usr/sbin/sshd
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list