Re: ssh keys for remote executeion (local to remote) but can it work the other way.



On Jun 13, 5:17 pm, "Richard E. Silverman" <r...@xxxxxxxx> wrote:
"fearban" == fearban <Fear...@xxxxxxxxx> writes:

fearban> Hi, Generatingsshkeys for for local and remote on a two
fearban> node configuration. is fine and works fine

fearban> Can do things likesshtom@remote ps -ef --------------->
fearban> from local

fearban> However can remote execution of scripts be executed from the
fearban> remote to the local with the same keys.

fearban> egsshtom@local ps -ef -------------------> from remote.

fearban> Or do a whole new bunch of keys have to be generated.

fearban> GB

You don't need new keys, but you need to move them around. The situation
is asymmetric: the source needs the private key, and the destination needs
the public key in authorized_keys.

--
Richard Silverman
r...@xxxxxxxx

Does this mean that you have to send the private key accross to second
machine ? using scp ?

.



Relevant Pages