LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2003, 08:46 PM   #31
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31

Hey, I've got to laugh here. You installed the packages on your system and you expect me to know what is msec?

It sounds like it is some sort of security package.

Why have you not done an

rpm -qil msec

and also looked in

/usr/share/doc/msec*

and then told me what it was? :+)

It is not a package which comes with RedHat, I just checked the RedHat 9 RPM database, and after just checking Debian, it is not a package which comes with Debian.

If you had done a Google search you would have found

MandrakeSecure: Introduction to msec
... system. What Does msec Do? However, one source of confusion with msec
is what exactly it does. ... messages. Customizing msec With Overrides. ...
<http://www.mandrakesecure.NET/en/docs/msec.php>

Now the thing is, you have actually found the cause of the problem, which is good going. All you have to do now is to
consult the documentation and correctly configure msec to allow sshd to run and accept incoming connections from your other host.

Looks like your problems will soon all be over ...

Last edited by Corin; 08-06-2003 at 08:49 PM.
 
Old 08-07-2003, 12:05 PM   #32
troworld
Member
 
Registered: Jul 2003
Location: Toronto, ON
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
yep yep !!! msec is a security precaution in mandrake that was overwritting my files.

With a one-line modification to msec's level.local file, I was able to allow permanent root logins.
I also changed my hosts.allow to include the line "sshd: ALL". I'm able to connect properly now.

And, guess what? I figured out what the problem was with the authentication failures. It was the way SecureCRT generated a public key. The format looked like one that PGP would use, and OpenSSH on my Linux machine didn't recognize it. So, I simply generatel the keypair on my Linux machine, copied the keyring files to the Windows machine where I'm ssh'ing from, and added the content of my id_dsa.pub file to authorized_keys on my Linux machine. It worked!!

Thanks for your help, again!

P.S. I'll check ssh again in an hour just to make sure nothing's been overwritten again.
 
Old 08-07-2003, 11:33 PM   #33
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
sshd: ALL

Are you most definitely certain you want ALL there?

IT should really just be either a specification of some hosts, or your local network address.

Glad to hear that you worked out the problem with the key files too!

After all of this, you should be an expert on ssh and Mandrake security tools.
 
Old 08-08-2003, 09:11 AM   #34
troworld
Member
 
Registered: Jul 2003
Location: Toronto, ON
Distribution: Mandrake 9.1
Posts: 41

Rep: Reputation: 15
Yeah, I'll restrict sshd to a few addresses that I have, but I just wanted to make sure that it works first.

Again, many thanks for your help!!
 
Old 08-08-2003, 01:34 PM   #35
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
But remember that the best policy of implementing security is to have everything closed off, then gradually open up; not the reverse.

But once again congratulations on getting the problem solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
ssh problem Mystified Linux - Networking 5 01-23-2005 06:17 PM
problem with ssh ito Linux - Networking 6 08-25-2003 04:21 PM
ssh problem juanb Linux - Security 6 08-21-2003 02:58 PM
ssh and X problem mazzo Linux - Networking 7 08-14-2003 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration