This question: https://unix.stackexchange.com/questions/302559/multitail-over-ssh
helped me to multitail from a remote location.
But my problem is one step deeper:
I need to run "sudo su" before I can tail the files.
How can I change user to su before I tail the file with
multitail -l "ssh dev-04 tail -f /opt/app/app.log"
Asked by Somaiah Kumbera
(101 rep)
Oct 30, 2019, 01:00 PM
Last activity: Oct 30, 2019, 03:12 PM
Last activity: Oct 30, 2019, 03:12 PM