Re: SSH wont work
"Renaud (Ron) OLGIATI" <renaud-9qJ39Kf4vhh95CE/QLhGvQK61p16E/[email protected]>
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 16 September 2010, my mailbox was graced by a missive
from who 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...]
I beg to point out that you do send out your address in your message.
> > 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.
All this was already done
> Depending on how you've got ssh installed on your machine, you might need
> to do a
> service sshd restart
This is the bit I missed, thanks.
Cheers,
Ron.
--
Progress in physics is achieved
by denying the obvious
and accepting the impossible.
-- Robert Heinlein
-- http://www.olgiati-in-paraguay.org --