The Root and Non-Root User sections contain parameters for a non-root user. This ensures that the root process executes commands for non-root user. Also, it specifies the location of the security key.
Remove the pound sign (#) character to enable TransferCmd and RemoteLogin parameters for the non-root user and revise them as follows:
By Defaultthe root and non-root user section is commented. It needs to be uncommented to use Failover as a non-root user. ## If User is root: # TransferCmd = "/usr/bin/scp"; # RemoteLogin = "/usr/bin/ssh"; ## If User is non-root: # TransferCmd = "/usr/bin/scp -i /home/smartsusr/.ssh/id_rsa"; # RemoteLogin = "/usr/bin/ssh -i /home/smartsusr/.ssh/id_rsa"; . . . ## If a non-root user is specified, the RemoteLogin and ## TransferCmd options also need to be changed. # User = "root"; TransferCmd = "/usr/bin/scp -p -i /home/smartsusr/.ssh/id_rsa"; RemoteLogin = "/usr/bin/ssh -i /home/smartsusr/.ssh/id_rsa"; User = "smartsusr"; # ActionLogging = false;