Results 1 to 2 of 2
While on the console, I am able to login and su - to root, as root, however, I try to access another machine on the network via ssh and given ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2007 #1
- Join Date
- Jul 2007
SSH = Permission Denied
While on the console, I am able to login and su - to root, as root, however, I try to access another machine on the network via ssh and given a "Permission Denied" message"
I also try ssh as user but still receive the Permission Denied (publicKey) message. Is there an ssh configuration entry that I can temporarily disable to allow me to gain access?
Thanks in advance
- 09-26-2007 #2
- Join Date
- Apr 2004
Most ssh servers disable root logins as a security precaution. It is better to login as a user and then su to root because that leaves an audit trail in the logs. To change it, check for the following line in /etc/ssh/sshd_config
For your other problem, it seems that the only authentication method available is public key. Check the sshd_config file again for
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.