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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2006 12:16:05 -0700 (PDT)

: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.
:
:Thanks,
:Saverio

    By default, ssh to the root account is disabled by the ssh
    server.

    You can enable root access via ssh keys only (i.e. it would still
    disallow manually typed password access), by changing this config
    line in your /etc/ssh/sshd_config file on the server:

    PermitRootLogin without-password

					-Matt




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