SSH parameter to ignore .bashrc script

I have a web server which when it begins, a line in .bashrc implements the adhering to command /bin/watch ~/checker.bash which as anticipated watches that regulate upon web server start.

I additionally have a customer which logs right into that equipment, yet I do not desire the customer is sessions to execute the very same command from the .bashrc.

I have actually considered AcceptEnv for passing env vars, though it calls for arrangement of the web server, which I intend to stay clear of.

I additionally do not intend to have 2 various customer make up various .bashrc's.

Exists an additional angle to approach this from?

2022-07-25 20:43:22
Source Share
Answers: 0