Unlike with some of our more atomic deployments, we usually have and need quite a bit of direct access to the production environment with Wordpress. This means we do log-in to the server and run the odd CLI command as part of maintenance. Below are some examples to help with getting a sense of where our versions and packages are.
Logging in
You can usually log into the remote host with SSL (we don't use hosts that don't allow it) and browse to the relevant domain's html or public folder:
[local] $ ssh [user]@[host]
Password: [password]
[remote] $ cd domains/[domain]/html
Checking the Wordpress version
Any decent host will have installed, letting you get and set various things from the command line: