--- saravanan ganapathy <sarav_gsa@xxxxxxxxx> wrote: > I 've tried
this option also. But again it prompts for
--- "Raman.P" <raamanp@xxxxxxxxxxx> wrote:
--- saravanan ganapathy <sarav_gsa@xxxxxxxxx>
wrote: > Hai,
I have done the followingsupplying
i) Create keys by using ssh-keygen without
a password (hit enter when asked for apassword).This
will create id_dsa and id_dsa.pub in ~/.sshdirectory
ii) Copy the contents of id_dsa.pub into
~/.ssh/authorized_keys on Host B.
After that I am able to ssh from hostA to host B
using the same user without pwd.your pub key should be available in target userid's
But I need to do ssh from hostA to host B by using
different user without pwd.
I tried many times, but still it prompts for pwd.
Can you please help me to solve my problem?
.ssh/authorized_keys. ie on otheruser@hostB.
Also you shoud use ssh -l otherusername