Basil Kurian writes:
> Hi Siju

> Can you add the details of enabling ssh login into DragonflyBSD box , in
> that wiki ?

> I tried adding  *sshd_enable="YES"* into rc.conf and *rcstart sshd*


> In the client side  I'm getting this error

> ba...@penguin:~/Desktop$ ssh [email protected]
> The authenticity of host '192.168.2.102 (192.168.2.102)' can't be
> established.
> RSA key fingerprint is d4:b7:b4:11:c5:26:22:40:fe:96:74:7f:6c:5d:85:eb.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '192.168.2.102' (RSA) to the list of known hosts.
> Permission denied (publickey).
> ba...@penguin:~/Desktop$

That's due to OpenSSH server being configured to allow only public key
authentication and missing corresponding private key (of the authorized key
pair) on the client side. Use something like following (at client):

% ssh -i /path/to/private/key/file [email protected]

OR allow other authentication methods at server side by listing them in 
sshd_config(5).

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

Avoid Success At All Costs !!

Attachment: pgpXa871tPdpU.pgp
Description: PGP signature

_______________________________________________
bsd-india mailing list
[email protected]
http://www.bsd-india.org/mailman/listinfo/bsd-india

Reply via email to