Re: Is OpenSSH 3.5p1 secure?
From: William Peckham (mrwbp@attbi.com)
Date: 02/05/03
- Next message: Will: "F-Secure SSH Server and client for Windows. Public Key problem"
- Previous message: Richard E. Silverman: "Re: ssh connection, without the shell"
- In reply to: ArteQ: "Re: Is OpenSSH 3.5p1 secure?"
- Next in thread: Zaakarij Selassij: "Re: Is OpenSSH 3.5p1 secure?"
- Reply: Zaakarij Selassij: "Re: Is OpenSSH 3.5p1 secure?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "William Peckham" <mrwbp@attbi.com> Date: Wed, 05 Feb 2003 02:02:28 GMT
My advice, for a start:
1. Do not allow root access over ssh.
2. Do allow access over ssh for one and only one user.
3. Use only private key (not password) authentication.
4. Manage your session access to allow you to use su or sudo to execute jobs
as root when needed, manage your automated processes so they do not NEED to
run as root.
NOTHING is perfectly secure. Anything can be made MORE secure by running it
as securly as possible. The defaults in the most recent ssh versions are
pretty good, but you have to evaluate your settings based upon your
environment. Even old 'risky' versions of ssh are many times more secure
than unencrypted telnet and ftp traffic and services! No matter how good
the software, if you configure a backdoor you have no one else to blame if
someone exploits it. If you decide you want to ANYWAY, be aware of the
risks and take reasonable precautions.
If you WILL/must allow root access from remote, the most secure
authentication is using keys. It remains secure only when you guard your
keys at least as well as you guard your root password. If you cannot follow
these minimal security guidline, then any ssh exploit is moot. Your systems
will be so vulnerable to other attacks that any 'breaker' will never get
around to exploiting ssh, nor need to in order to own your system.
Best of luck!
"ArteQ" <arteq2@go2.pl> wrote in message
news:b1ofb6$bg7$1@SunSITE.icm.edu.pl...
> Thank you guys... but you're both wrong :-)
> I ussualy use only one account (and that is root account...) to log in,
and
> there is nobody else who use ssh on my server box. So in fact there is no
> use restricting that in AllowUser directive. What I ask you is how to
> protect sshd against exploits that can be used by hackers. They don't have
> accounts on my box, so setting AllowUser won't change anything. I just
want
> to be sure that they won't use some trivial security hole to grant root
> priviliges, without knowing the password of course. So are there any
> directives that should be set so as to keep sshd secure? I've already set
> UsePrivilegeSeparation. I've also heard something about AuthBSD....
>
> ArteQ
>
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 2003-01-21
- Next message: Will: "F-Secure SSH Server and client for Windows. Public Key problem"
- Previous message: Richard E. Silverman: "Re: ssh connection, without the shell"
- In reply to: ArteQ: "Re: Is OpenSSH 3.5p1 secure?"
- Next in thread: Zaakarij Selassij: "Re: Is OpenSSH 3.5p1 secure?"
- Reply: Zaakarij Selassij: "Re: Is OpenSSH 3.5p1 secure?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|