Before disabling SmartLogin, ensure you do one of the following:
|
About SmartLogin
SmartLogin is a plugin to SSH that allows a live lookup of your SSH key from your Joyent Cloud account through the Cloud API. When you attempt to SSH into a SmartMachine, SmartLogin will check your Joyent Cloud account for a matching public key. If SmartLogin fails to find a matching key, it defaults to looking for the public key in the .ssh/authorized_keys file of the specified user.
Although SSH keys are more secure, you may prefer to access your SmartMachines through a standard username and password. You can disable the SmartLogin plugin and the live SSH key lookup on any given SmartMachine by doing the following:
- Open this file:
- Prepend the following line with a # character:
- Save and close the file.
- Restart the SSH service after commenting out the above line:
SmartLogin is now disabled.
About Login Credentials for SmartOS Images
SmartMachines built off of SmartOS and SmartOS64 images do not include pre-configured user accounts. On these machines, ensure you ssh in as the root user before disabling SmartLogin and set the password for the root and admin users: