Subject: Re: ok, starting to get it.
To: NetBSD <netbsd-help@netbsd.org>
From: None <fernando@rxp.com>
List: netbsd-help
Date: 02/17/2003 14:19:37
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.