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

Re: ssh connection without passwd



Hello,

if a understand, you want to connect to a host without password throught
ssh.
Use the ~/.ssh/authorized_keys

add the pub key of HostA in the authorized_keys of HostB.
You will be able to connect to HostB from HostA.

by

Anthony

abdelkader belahcene a écrit :
Hi every one,

I am using DSL on small miniPC.

I tried the ssh-keygen it seemed running correctly, it generates the
key (pub and priv),
but the ssh-add  gave  cannot open a connection to
 authentifcation agent  ???? , I tried it after ssh-agent I got same error.


In fact I want an automatic (  from scrpit without passwd ) connection
to myserver using ssh. I don't know if ssh has an option to disable
the passwd or  to send it thru the command ???

thanks a lot
best regards
bela




Reply to: