Results 1 to 10 of 17
I can SSH into my RHEL box, but get an "Access denied" error :-
login as: root
Access denied
root 192.168.0.10's password:
Last login:.....
#
So, I can SSH in, ...
- 01-14-2010 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
ssh access denied putty
I can SSH into my RHEL box, but get an "Access denied" error :-
So, I can SSH in, but it always prints the Access denied!? Why?login as: root
Access denied
root 192.168.0.10's password:
Last login:.....
#
- 01-14-2010 #2
Ssh usually doesn't allow access to root user for security. You will need to log in as a normal user and then access root using su
Linux User #453176
- 01-14-2010 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
- 01-14-2010 #4
A quick Google will show you how to: How do I enable root login with ssh? :: Free Tech Support :: Ask Dave Taylor!
Linux User #453176
- 01-14-2010 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
- 01-14-2010 #6
To restart sshd I would use the command:
Rather than the way Dave Taylor has suggested.Code:/etc/init.d/ssh restart
Anyway, if you're going to be adding users later I would suggest doing that now rather than allowing access to root as by doing that you're making your system less secure.Linux User #453176
- 01-14-2010 #7Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
- 01-14-2010 #8
Then there are different reasons why root access is being denied. You can look on RedHat's manual. They are showing how to block it so just do the oposite of what they suggest:
Administrative ControlsLinux User #453176
- 01-14-2010 #9Just Joined!
- Join Date
- Jun 2009
- Posts
- 23
- 01-14-2010 #10Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110




