Ubuntu configure SecureCRT login
1. Switch to the root user from the command line###
Remarks: By default, the root user of ubuntu does not have a password, and you need to set a password first
- sudo passwd root
- Follow the prompts to enter the current user password
- Follow the prompts to enter the root user password to be set
- Follow the prompts to enter the root user password again
- Successfully modified
Switch to root user#####
- su – root
- Follow the prompts to enter the root user password
2. Install openssh-server
apt-get install openssh-server
- Modify the configuration file
- Command line [terminal] to enter the directory: /etc/ssh
- Modify the file sshd_config
- Comment out PermitRootlogin...
- Add a line PermitRootLogin yes save the file and exit
3. Restart the ssh service###
- Command line (terminal) execution command: service ssh restart
- View ip address: ifconfig
4. Open the SecureCRT software, enter the IP address and account number according to the prompts, click Connect, and enter the root account and password in the pop-up dialog box. Enjoy!