DragonFly BSD
DragonFly users List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problem with ssh connection


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2006 16:06:36 -0400 (EDT)

On Tue, October 24, 2006 3:05 pm, Saverio Iacovelli wrote:
> I've two DFly machines with sshd enabled.
> I typed sshd_enable="yes" in /etc/rc.conf, I created
> the key pair with ssh-keygen. The problem is that I
> can't to connect to 192.168.1.2 from 192.168.1.1 with
> scp for copying the id_rsa.pub file.
> Then, I moved the id_rsa.pub content in remote
> /root/.ssh/authorized_keys with pendrive, but I do not
> permissions to access from remote host.
> I always work with root account.

Your /etc/ssh/sshd_config has this line by default:

#PermitRootLogin no

(It's commented out, but it's the default value.)  Either uncomment it and
change the 'no' to a 'yes', or create some non-root accounts and use those
instead of root.  In the long run, you'll be better off creating non-root
accounts.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]