![]() |
Now serving 104 guides. |
|
SSHd with FreeBSD 5.3 General Information I ran FreeBSD 5.2 for a long time with the default SSHd and then decided to upgrade to 5.3-STABLE. I normally use SecureCRT as my SSH client and I like password authentication. After I upgraded to 5.3, I could no longer logon using password authentication and I had to switch to keyboard interactive. This disallowed me from logging in with sftp from remote locations which really bummed me out. Here is the fix I found.Note: This fix only affects people running FreeBSD 5.3 with the default SSHd -- not OpenSSHd. Requirements
Configuration The steps are really simple and I felt silly for not thinking of it sooner.
Author: Jon LaBass Find this guide useful?
Support the author: 6 Comments Posted by proxycentral on February 15, 2005 at 1:31:22 am EET
You might want to change s/killall/kill... kill is actually the one that goes by PIDs by default.
Posted by Jon on February 15, 2005 at 1:31:22 am EET
Thanks for catching that. All fixed.
Posted by moti on February 15, 2005 at 1:31:22 am EET
/etc/rc.d/sshd restart will do the job as well ;-)
Posted by Jon on February 15, 2005 at 1:31:22 am EET
Yes, but then you will lose your current connection if you are connected remotely. If you just restart the server process, then you will keep your current session and the changes apply to new connections.
Posted by RevilAtion on February 15, 2005 at 1:31:22 am EET
This must only affect upgrades to 5.3. With my fresh install the option was there it just had to be uncommented.
Posted by Jon on February 15, 2005 at 1:31:22 am EET
The option was always there, but the key point is to enable it by either uncommenting it or just adding it. Either method works. I just used the echo command to alleviate the need to open a text editor.
|
Copyright 2003 - 2008 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |

