Subject: Re: ok, starting to get it.
To: None <netbsd-help@netbsd.org>
From: Milos Negovanovic <milosn@xtra.co.nz>
List: netbsd-help
Date: 02/18/2003 08:35:40
/etc/rc.d/ is a directory where almost all startup scripts reside.
Regards
Milos
> Thanks Chris.
>
> What am I doing wrong? I got the ssh=YES into the rc.conf file (after
> learning how to use vi :) and now I can use Putty to log in, but when I
> vi on rc.d I get this message:
>
> +=+=+=+=+=+=+=+
> Warning: rc.d is not a regular file.
>
> and all I see is giberish. Looks like a binary file.
>
> thanks again.
> Fernando
>
>
>> -----Original Message-----
>>
>> Edit /etc/rc.conf and add the following line:
>>
>> sshd=YES
>>
>> Then edit the two configuration files in /etc/ssh (ssh_config and
>> sshd_config for the client and server respectively). The defaults are
>> probably what you want, although you may want to enable X forwarding.
>>
>> Then go into /etc/rc.d and enter:
>>
>> ./sshd start
>>
>> It should then generate the keys and start the sshd daemon. Of course
>> you will need to be root to do this.