| Linode Forum https://forum.linode.com/ |
|
| Can't SSH in as root user https://forum.linode.com/viewtopic.php?f=19&t=6311 |
Page 1 of 1 |
| Author: | kidrobot [ Tue Nov 23, 2010 10:42 am ] |
| Post subject: | Can't SSH in as root user |
I am getting Permission Denied when I try to SSH in with a password. I was tweaking the /etc/ssh/sshd_config file to set up SFTP for a non root user. Then suddenly my SSH access vanished. If I log into the LISH console then ssh in as root with password, I can get in. So the password is correct. Below are the uncommented lines in /etc/ssh/sshd_config in case that helps. Code: Port 22 I've also done /etc/init.d/ssh restart to no effect. Any ideas appreciated. Distro is Debian (Lenny). |
|
| Author: | obs [ Tue Nov 23, 2010 11:41 am ] |
| Post subject: | |
Add root to AllowUsers ftponly and restart ssh |
|
| Author: | rsk [ Tue Nov 23, 2010 4:28 pm ] |
| Post subject: | |
Also, PermitRootLogin yes may be necessary. It was the default, not sure if still is. May I ask why do you need to ssh in as root, instead of as some other username and then su? |
|
| Author: | kidrobot [ Tue Nov 23, 2010 9:01 pm ] |
| Post subject: | |
EDIT: Decided to rebuild the box with admin user for root stuff so life is sweet again. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|