Re: PuTTY: Server refused our public key

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 08/27/03


Date: Wed, 27 Aug 2003 21:13:05 +0000 (UTC)

nadiak@parkerglobal.com (N.K.) writes:

]HI,

]I'm trying to use putty to connect to a remout server. This is the
]first time I'm doing it so I'm not sure if I'm doing it the right way.
]1. On the Linux server how do I know what version of ssh is running?
]All I know that there is a directory .ssh and there is a file called
]known_hosts ( not authorised_keys).

]2. On my Windows box, I used puttygen to generate a key. I saved
]public and private keys and copied the public key over to known_hosts
]file. (I copied whatever was in "public key for pasting into
]authorized_keys file"). I made sure it's all one line. BTW public and
]private keys are the same. Is that how it's supposed to be? Puttygen
]only generates one key. Is the format different?

Uh, no, you do not copy your public key to the known_hosts file on either computer.

It is your system which copies the public key of the remote computer (not use, computer) into your
know hosts file.

You have to copy your public key from your computer to the .ssh/authorized_keys file on the remote
system.



Relevant Pages

  • Re: I need a encryption utility that will...
    ... >>utility, so when they specify one or more files for inclusion, they just ... > - it's also possible for the senders to create their own private keys, ... > Here is where a "commodity" public key system doesn't match your ...
    (comp.security.misc)
  • Re: Object contains only the public half of a key pair. A private key
    ... Server public key ... Service public and private keys ... I used cert tools to grant everyone full ... <response signatureOptions="IncludeAddressing, IncludeTimestamp, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: I need a encryption utility that will...
    ... >utility, so when they specify one or more files for inclusion, they just ... - with that the sender can encrypt information so that only the ... you will periodically provide new copies of your public key ... it's also possible for the senders to create their own private keys, ...
    (comp.security.misc)
  • Re: Encryption for group
    ... >> that one public key. ... I'm not sure that PGP implements exactly ... > several corresponding private keys, ... mentioned possibility of one single public key and several ...
    (sci.crypt)
  • Encryption for group
    ... resource should be encrypted with one public key and I ... decrypted with each of the private keys. ...
    (sci.crypt)