Things to check
Commands run on the remote machine. Host-key warnings matter; forwarding and authentication options change access and exposure.
Before you run it
Confirm the hostname, identity and host key before connecting.
Ask your agent
“Explain the entire command, including every flag and operator. What exact files, services or permissions could it affect, and how will we verify the result?”
Context is part of the command
A command name alone cannot determine safety. Aliases, shell functions, expansions, flags, permissions and working directory can change its behavior.