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



"fearban" == fearban <Fearban@xxxxxxxxx> writes:

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

fearban> Can do things like ssh tom@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> eg ssh tom@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
res@xxxxxxxx

.



Relevant Pages