I'm aware that allowing root access to a server over SSH is a bad idea (i.e. allowing login as root over SSH). But how about the other end of the equation? Are there any downsides of initiating a SSH connection from a client machine where I am logged in as root? So, something like:
root@localhost$ ssh email@example.com
Would this have any security implications for the client machine (localhost in this example)?
More background: On a local machine in my home network (not reachable over the internet) I have a small service that collects information from the machine itself as well as some limited information from remote servers over SSH. The service itself runs as root due to the information it gathers on the local machine. On the remote servers it uses non-root logins with access only to the information it's set up to collect. Now I'm wondering if there is any benefit if the service is dropping the root privileges when establishing the SSH connections to the remote servers (e.g. via runuser) or if it doesn't matter at all and the local server might just as well initiate the SSH connections as root on the local machine.