How to start ssh daemon

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,283
Messages: 33,826

a129878 said:
What is the difference, is there any ?
From sshd(8):
-i Specifies that sshd is being run from inetd(8). sshd is normally not run from inetd because it needs to generate the server key before it can respond to the client, and this may take tens of seconds. Clients would have to wait too long if the key was regenerated every time. However, with small key sizes (e.g. 512) using sshd from inetd may be feasible.
In short, start sshd as a daemon. Forget about inetd.
 

darekpawel

New Member


Messages: 1

I've followed that brief instruction, i.e. 'sshd_enable="YES"' in the '/etc/rc.conf',
but each time when I switch-off the PC, the 'sshd' is not starting automatically.
I must start in manuall with 'service sshd start'.

Is that still any other config entry to enable the 'sshd' start automatically after reboot???
 

marius_d

New Member


Messages: 2

Hi,
I had the same problem, and found the solution:
as sudo run the following command:
Bash:
sudo rc-update add sshd boot
 

Sevendogsbsd

Aspiring Daemon

Reaction score: 522
Messages: 974

darekpawel: can you post the exact line in your /etc/rc.conf (using CODE tags please) so we can see what the content looks like?
 

Sevendogsbsd

Aspiring Daemon

Reaction score: 522
Messages: 974

“Based on” does not mean “is”. And actually I just looked this up: GhostBSD is not based on FreeBSD at all but based on TruOS. I have no idea what TruOS is or if it is a derivative of something.

Point is, just because an OS may be similar, doesn’t mean commands from one will work in another.
 

nalatroz

New Member

Reaction score: 1
Messages: 1

TrueOS is based off of FreeBSD(-CURRENT to be more accurate). If I remember right it used to be called PC-BSD until a couple of years ago,
 
Top