Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I configured SSH with RSA authentication.
But when I start SSH , it showed following message. What is it mean?
I think RSA authentication of my server SSH is not good ?
Message is :
"... Disabling protocol version 2. Could not load host key"
Step configuration is :
---------------------------------------------
I have changed config file SSH "/etc/ssh/sshd_config"
(There is not showed other config which is default.)
I have display my config file here for people wich is first time set SSH RSA authentication. We write here How to create host key and other.
Following config only for RSA, when want to use DSA , please change RSA -> dsa.
*************************
I have changed config file SSH "/etc/ssh/sshd_config"
(There is not showed other config which is default.)
I hope you don't mind me jump starting an old thread. But in case you haven't sorted this out yet...
Quote:
Originally posted by ERBRMN
Protocol 1,2
I was getting the same warning message as you until I changed that to:
Code:
Protocol 2
I also wouldn't use:
Quote:
HostKey /etc/ssh/ssh_host_key
As explained above, it is the "old" (rsa1=protocol1) way of doing things. I would stick with rsa and/or dsa (protocol2).
That makes the following unnecessary, since (I believe) it applies only to rsa1:
Quote:
KeyRegenerationInterval 3600
I'm not sure about the following settings, but they weren't necessary to get public-key authentication working.
Quote:
IgnoreRhosts yes
IgnoreUserKnownHosts yes
After a few days of learning the ropes and and many hours of trial and error, I think I've managed to get public-key authentication working successfully. So I'm by no means an expert. But if you still haven't gotten it working to your satisfaction, I'd be happy to help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.