Problem with ssh connection

Matthew Dillon dillon at apollo.backplane.com
Tue Oct 24 12:25:27 PDT 2006


: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






More information about the Users mailing list