On 11/1/2016 4:39 PM, Rich Shepard wrote:
> On Wed, 26 Oct 2016, David wrote:
> 
>> Take a gander at the tool ssh-copy-id which is pretty slick way to copy
>> your keys into place.
> 
>    I've read the man page, yet when I try to use it the connection is
> refused.
> 
>    I ran ssh-keygen on the ThinkPad with the same passphrase as on the
> desktop, and invoked ssh-agent on both. Yet I cannot copy the public key in
> either direction using ssh-copy-id. A web search was not productive.
> 
>    Thoughts on how to identify the source of the error welcome.
> 

If you generated a new keypair, you'll have to transfer the public
key to the target system (the one you want to connect TO) and put
it in ~/.ssh/authorized_keys.  ssh-copy-id does this but it must
be able to ssh into the target system, either with the old private
key or a password.  If you cannot ssh into the target system
currently, then you cannot deploy the new public key over the
network. You must find some other way to get the public key
to the target.


-- 
Jim Garrison ([email protected])
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to