Re: SSH wont work

David Guntner <davidg-1boXBf7wef/[email protected]>
Newsgroups gmane.linux.mandrake.expert
Organization What a concept! :-)
Message-ID <[email protected]>
[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

service sshd restart

command as root to make the change take effect.

HTH.

               --Dave
signature.asc (application/pgp-signature, 260 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkySimoACgkQvC3peSYrMN4I0wCfTkYl4PEe+z1zVtTf8/61wD6A
5VAAmwduG8EcnafGUSX1ASUAs5+sNJ6q
=cloe
-----END PGP SIGNATURE-----
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.