Re: SSH wont work

Eugeni Dodonov <eugeni-4qZELD6FgxhWk0Htik3J/[email protected]>
Newsgroups gmane.linux.mandrake.expert
Message-ID <[email protected]>
On 09/16/2010 06:21 PM, David Guntner wrote:
> [I generally dislike replying to one of your messages because of your
> propensity for including someone's E-Mail address on your attribute line
> when you reply to them, despite having been asked not to.  Please don't
> make me regret the decision to answer this time...]
> 
> Renaud (Ron) OLGIATI grabbed a keyboard and wrote:
>>
>> ron@ron:/home/storage/Videos $ ssh root@tom
>> root@tom's password:
>> Permission denied, please try again.
> 
> Well, there's your problem.  Most systems are set up by default to have
> the sshd daemon refuse a direct root login for security purposes.  The
> normal way someone would get in to improve on the security would be to
> ssh into the box as a regular user and then use su (or sudo preferred)
> to switch to the root user at that time.  If you want to allow direct
> root login via ssh with a password (instead of a key), edit:
> 
> /etc/ssh/sshd_config
> 
> Look for the line which says:
> 
> PermitRootLogin
> 
> It will probably already be set to "without-password" (which would allow
> a direct root login with a key, but not with password entry).  Change
> that value to "yes" (without the quotes, of course) and then it should
> allow you to login that way.  Depending on how you've got ssh installed
> on your machine, you might need to do a

Or run msecgui and change that setting via GUI. Otherwise it will be
lost next time msec runs..

-- 
Eugeni Dodonov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.