1

i want to generate a public- private key on sever 1 and store it a location which is not the default location.

then save the public key on server 2 NOT at the default location.

then make this key an authorised key. i cannot find authorised_keys file in .ssh how do i make it auhorised.

1 Answer 1

1

Either create the file yourself or use ssh-copy-id to generate it for you.

5
  • can you elaborate ssh-copy-id
    – sam
    Feb 14, 2011 at 10:58
  • No, I believe I'll let the man page do so. man ssh-copy-id Feb 14, 2011 at 10:59
  • i mean where i have to use this command...at which stage
    – sam
    Feb 14, 2011 at 11:00
  • After you've generated the key, on the machine you've generated it at. Feb 14, 2011 at 11:00
  • ssh-copy-id command was not found,but creating the file did the work...thnx
    – sam
    Feb 14, 2011 at 11:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .