Hi David,
On 2020-08-24 12:42, Roxanne Montgomery Woodyard wrote:
>[2020-08-24 14:30:58] DEBUG - Checking for a private key in .ssh/config
>[2020-08-24 14:30:58] DEBUG - Rex::Group::Entry::Server (private_key):
>returning /root/.ssh/id_xxxxxxxx
>[2020-08-24 14:30:58] DEBUG - Checking for a public key in .ssh/config
>[2020-08-24 14:30:58] DEBUG - Rex::Group::Entry::Server (public_key):
>returning /root/.ssh/id_xxxxxxx.pub
>
>Does this mean that rex is logging in each time or do I need to change a
>setting so that it does not need to?
Without seeing the full debug log and the exact code you are running, I
can't be 100% sure. Based on the few lines you shared, I don't think
they indicate multiple connections.
Successful connections to an imaginary server named "servername" look
like this in the debug log:
[2020-08-25 17:35:34] DEBUG Connected and authenticated to servername.
[2020-08-25 17:35:34] DEBUG Successfully authenticated on servername.
It might also help to directly check the logs of the remote server and
see how many connections are being made.
To be sure, could you post the full debug log and an example task
somewhere, then share the link to them, please?
Should you need further support, feel free to ping us on IRC too.
Hope this helps,
FErki