Set up your SSH client
Configuration varies slightly between SSH clients, so you may need to refer to your client's documentation. There are two general steps:
- Create a new locale variable,
LC_CMD_USER, and set it to the email address associated with your Cmd account, for example:
- Configure your SSH client to send the variable by adding the following line to your SSH config (
To make the variable permanent,
export it to your client's startup script (e.g.,
.bashrc for Bash).
Set up the server
The server must be configured to accept the locale variable. Of the Linux distributions we support, only Ubuntu does this by default.
- On the host, add the following line to
- To apply this setting, restart the SSH daemon.
If using CentOS 6, you must stop the Cmd agent before restarting the SSH daemon:
- Stop cmd daemon:
initctl stop cmd
- Make SSH daemon config changes and restart sshd:
service sshd restart
- Start cmd daemon:
initctl start cmd
Click here to learn more about the CentOS 6 known issue.
After setup, when you are required to authenticate:
- If you have set up multiple authentication methods, you will choose one, then see the authentication prompt.
- If you only set up one method, you will immediately see the authentication prompt.