Re: ssh not accepting password ( solaris 10 )
- From: "Canuck57" <fred@xxxxxxxxxx>
- Date: Sun, 2 Aug 2009 10:21:08 -0600
"george2" <george@xxxxxxx> wrote in message
news:IJGdnavlzaKvVe_XnZ2dnUVZ8nCdnZ2d@xxxxxxxxxxxxxxxxxxx
When testing ssh by sshing to localhost normally the prompt is like below
:
root@localhost's password:
We a problem server which is not accepting the users password. I have
verified the password, but when sshing to localhost and from another
server the password is rejected :
# ssh localhost
Password Authentication
Password:
I just keeps giving me the password prompt .
Also the /etc/issue which is specified in sshd_config as the Banner is not
being displayed.
On all of our servers this is normally displayed. I have looked at the
sshd_config and can see no problem. Root access is allowed , password
authentication is enabled etc
PermitRootLogin yes
Banner /etc/issue
George
Two reasons why.
First, edit two files. /etc/ssh/sshd_config and allow root. Next, edit
/etc/default/login and comment out the CONSOLE part.
Restart the sshd services to get the new config and you should be able to
login as root.
This is not a recommended practice and I don't use it on production systems
or systems containing data, but it is convenient for the one of instances
where you don't care about good security and only have one user, thy self.
Logging in as ones self and then using su is a preferred approach from a
security perspective.
.
- Follow-Ups:
- Prev by Date: Re: How do I show all compiler warnings with Sun Studio?
- Next by Date: Re: How do I show all compiler warnings with Sun Studio?
- Previous by thread: How do I show all compiler warnings with Sun Studio?
- Next by thread: Re: ssh not accepting password ( solaris 10 )
- Index(es):
Relevant Pages
|