well, you need to append public key, say id.pub, to authorized_keys[2] on the target server, so that the target server, based on the incoming request, generates a challenge from that authorized_keys[2], which contains many keys. If you don't have authorized_keys, no problems. Just create one. source: id.pub >> authorized_keys2 target: copy the above authorized_keys2 to $HOME/.ssh2 On 8/7/07, sanjay bauskar <sanjaybauskar@xxxxxxxxx> wrote: > source is hp-ux 11.11 > target is sun 5.8 > > I tried to copy public key file from target serer to source server user > home( /user/home/.ssh2) directory but still i am facing connectivity issue > through ssh and can not do scp between this two server. > > If any one is having idea. please explore on this. > > Regards > sanjay