Differences
This shows you the differences between the selected revisions of the page.
2010-08-07 | 2010-08-07 | ||
no summary (119.105.202.248) (hidden) | Restored revision 1273605939. Undoing revision 1281205176. (martin) (hidden) | ||
Line 5: | Line 5: | ||
Easiest way is to allow direct login with the user account you need, if it is not allowed already. For accounts such as ''root'', the direct login is typically disabled by default for security reasons. So when enabling it, have security in mind. | Easiest way is to allow direct login with the user account you need, if it is not allowed already. For accounts such as ''root'', the direct login is typically disabled by default for security reasons. So when enabling it, have security in mind. | ||
- | Particularly with SSH, you may want to keep password authentication (the most vulnerable one) disabled and use e.g. [[public_key|public key authentication]] instead. With OpenSSH server, you can do that by setting ''[[http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config|sshd_config]]'' keyword ''PermitRootLogin'' to ''thwethwe'' ((Even more restrictive option ''forced-commands-only'' may work with SFTP protocol, but it has not been tested.)). | + | Particularly with SSH, you may want to keep password authentication (the most vulnerable one) disabled and use e.g. [[public_key|public key authentication]] instead. With OpenSSH server, you can do that by setting ''[[http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config|sshd_config]]'' keyword ''PermitRootLogin'' to ''without-password'' ((Even more restrictive option ''forced-commands-only'' may work with SFTP protocol, but it has not been tested.)). |
===== Use sudo on Login ===== | ===== Use sudo on Login ===== |