Some Linux users have experienced Access Denied errors when logging in to SSH. How do Linux users solve this problem? Let Xiaobian introduce a solution to everyone now, and users who need it will come and see it.
Solution:
1, /home permissions problem
If /home only supports root access, you can try using /tmp, then use the mv command again Transfer
2, /etc/ssh/sshd_config configuration problem
Some people say that this configuration file has been modified or optimized, find the PermitRootLogin option inside, change no to yes
All methods have been tried, and even the passwd, shadow permissions have been changed. Later, I re-established a user, granted root privileges, experimented, and succeeded! Since other accounts can succeed, why is root not? Look at putty again, found that connected to SSH, after entering the password also appeared Access Denied words. And the password is 100% correct.
Finally found a solution, the original problem is still in the sshd_config, at the end of the file found that there is an AllowUsers option, add root and then restart sshd. . . .
The code is as follows:
/etc/init.d/sshd restart
Let's take a look at the SSH connection and SCP command transfer. Already available.
The above is the solution for the Access Denied error when Linux users log in to SSH. If you encounter this problem, you may wish to try this solution introduced by Xiaobian.
The biggest feature of the vsftpd server is that it is safe enough to run on a Linu
For the UFW firewall of Ubuntu system, many people still dont know how to set it up. They only know
Brackets is a powerful front-end web integrated development environment that can be
In school, you usually use campus network, you need to use special software to connect to the networ
Ubuntu how to set up system update reminder
Method for monitoring Linux temperature using psensor
How to let ordinary users use port
Linux using the telnet command method
How to change the jenkins port number on Ubuntu
How to use the Linux system Passwd command
How to customize the History output format for Linux systems
Linux installation of PCNS software
Linux manual shutdown of the firewall steps
How to install Guake terminal to Ubuntu system
How to solve the problem of forgetting the root password under Linux?
Pdf conversion word document Microsoft official has a coup
Several practical tips for the "Tab" button under Windows 7
Sharing experience: Let Windows 7 easily recognize Real-format video files
Win7 system Ctfmon is what process
How Excel draws two types of data on the same image
How to disable win7 autorunning
Fix Win7 disk partition icon display error
[WindowsXP] Restore files after emptying the recycle bin