Custom metrics ssh

Don't allow user to open the custom metric popup if he/she doesn't have a key on the machine