After commenting below line , it worked :) * PasswordAuthentication no * Thanks Ashish
On 16 October 2010 23:19, Basil Kurian <[email protected]> wrote: > Thanks Ashish , let me try :) > > On 16 October 2010 22:58, Ashish SHUKLA <[email protected]> wrote: > >> 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/<http://people.freebsd.org/%7Eashish/> >> >> Avoid Success At All Costs !! >> >> _______________________________________________ >> bsd-india mailing list >> [email protected] >> http://www.bsd-india.org/mailman/listinfo/bsd-india >> >> > > > -- > Regards > > Basil Kurian > http://twitter.com/BasilKurian > > Please do not print this e-mail unless it is absolutely necessary. SAVE > PAPER. Protect the environment. > > -- Regards Basil Kurian http://twitter.com/BasilKurian Please do not print this e-mail unless it is absolutely necessary. SAVE PAPER. Protect the environment.
_______________________________________________ bsd-india mailing list [email protected] http://www.bsd-india.org/mailman/listinfo/bsd-india
