mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
ef8176da90
- Move the generation of the host key (if not present) from the package/ port installation to the startup script in order to be in line with what the base OpenSSH and the OpenSSH-portable port do. - Flush stdout when updating the transfer progress bar of sftp2 and scp2 so the info displayed is up to date. [1] - Remove obsolete USE_REINPLACE, remove trailing white space in Makefile. PR: 91262 [1] Approved by: netchild
21 lines
750 B
Plaintext
21 lines
750 B
Plaintext
===========================================================================
|
|
|
|
Depending on how you would like to start sshd2(8) you have two choices:
|
|
1) Add the following line to /etc/rc.conf or /etc/rc.conf.local:
|
|
|
|
sshd2_enable="YES"
|
|
|
|
For further available configuration variables when using this method see
|
|
%%PREFIX%%/etc/rc.d/sshd2{,.sh}.
|
|
|
|
2) Add the following entries to your /etc/inetd.conf:
|
|
|
|
ssh stream tcp nowait root %%PREFIX%%/sbin/sshd2 sshd -i
|
|
ssh stream tcp6 nowait root %%PREFIX%%/sbin/sshd2 sshd -i
|
|
|
|
Using this method requires to manually generate a host key by either
|
|
executing `%%PREFIX%%/etc/rc.d/sshd2{,.sh} keygen` or by issuing
|
|
ssh-keygen2(1) directly.
|
|
|
|
===========================================================================
|