1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/ssh2/pkg-message
Marius Strobl ef8176da90 - Switch to a rc.d startup script.
- 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
2006-02-19 22:56:35 +00:00

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.
===========================================================================