I am executing ssh myuser@myserver.

Is there any way to trace all actions performed and the names of files being sourced? (similarly as with bash -x)

PS: I executed bash -x at the command prompt after sshing (spawning another Shell), but I do not know if the sequence of actions is the same as when sshing (see Where are commands sourced upon ssh)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.