This hosting maintenance note, published on May 23, 2019, is titled "Configuring SSH Key Generation and Disabling SSH Password Login on a Linux VPS." The actual environment and tools involved include Linux.
Software and deployment conditions
Configure PuTTY SSH to log in to a Linux VPS host using a key.
Accounts and Payments
Create an Xshell key to bind a DigitalOcean account to resolve the issue of receiving emails via the ROOT password email address.
Domain and site configuration
The system will prompt you for the directory where the key is saved. Press Enter to find the default location: "/root/.ssh/id_rsa". Then you will be asked to enter the password twice.
Matters mentioned in the article
- First, create and generate the key.
- Second, import the public key into the server configuration.
- Third, disable SSH login with regular password.
- 1. Creating an SSH key pair on Alibaba Cloud and importing it into an SSH tool to connect to the cloud server.
- 2. Creating and Configuring SSH Keys on Tencent Cloud CVM Server - Creating Keys and Applying Them to the Server
- 3. Xshell sets up key-based login to ensure greater security for Linux VPS and servers.
- 4. Configure PuTTY SSH to log in to the Linux VPS host using a key.
- 5. Create an Xshell key to bind to the DigitalOcean account to resolve the issue of receiving emails via the ROOT password email address.
Usage Environment
Linux.