I think many people want to learn that Linux is a virtual machine installed, and then log on to the virtual machine linux through ssh in windows. isn't it annoying to enter a password every time? let's teach you a trick, in this way, you do not need a password to log on to Linux. If you have any help, please refer to the post for help. thank you ~~~. First, clear your password first (nonsense !...) Then modify the/etc/ssh/sshd_config File: # Todisabletunneled
I think many people want to learn that Linux is a virtual machine installed, and then log on to the virtual machine linux through ssh in windows. isn't it annoying to enter a password every time? let's teach you a trick, in this way, you do not need a password to log on to Linux. If you have any help, please refer to the post for help. thank you ~~~.
First, clear your password first (nonsense !...)
Then modify the/etc/ssh/sshd_config file:
# To disable tunneled clear text passwords, change to no here!
# PasswordAuthentication no
PermitEmptyPasswords yes
PasswordAuthentication yes
Restart the service: service sshd restart.
If you use putty, you do not need to clear the password. write a batch for processing as follows:
Start putty-pw password username @ IP address
Run it.