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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-17-2008, 03:26 PM
|
#1
|
Member
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323
Rep:
|
SSH login keeps failing, saying that "strict" mode is on. ...It isn't
On /etc/ssh/sshd_config I've tried strict mode ="no" and just commented out. Is this a client side thing?
Last edited by lumix; 12-17-2008 at 05:20 PM.
|
|
|
12-17-2008, 05:17 PM
|
#2
|
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
|
Settings in sshd_config affect the SSH server (which runs as a dæmon process, hence the “d” suffix in sshd). i.e. settings here affect people attempting to log in to the computer that the sshd_config file is on. You may also need to restart SSH for changes here to take effect, typically with something like:
Code:
/etc/init.d/sshd restart
Also, strict_mode="no" is the correct setting to turn it off, according to a Google search: https://engineering.purdue.edu/ECN/m...er/000965.html
Client-side settings live in the ssh_config file instead.
|
|
|
12-17-2008, 05:17 PM
|
#3
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Rep:
|
Instead of turning off StrictModes, why not make your home directory permissions better (i.e. more restrictive)?
By the way, the directive is: StrictModes no
Read the manpages for sshd_config(5).
Last edited by anomie; 12-17-2008 at 05:19 PM.
|
|
|
12-17-2008, 05:23 PM
|
#4
|
Member
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323
Original Poster
Rep:
|
Whoops, thanks for the heads up...I meant strictmode="no".
I also did do a restart. After removing the known_hosts file (in the client .ssh dir), I was at last prompted for a password again. But Why? This is a client-side thing.
|
|
|
All times are GMT -5. The time now is 03:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|