Compiling OpenSSH on Feisty Fawn
Thanks for the excellent write-up on compiling OpenSSH on Ubuntu. I have tried to do all the steps as mentioned in the tip and managed to progress nicely, despite a warning about a PAM module. When I try to restart the server following the end bits of the article, I get a message as follows: " ..line3: /etc/init.d/sshd: No such file or directory". I am not able to see any 'sshd' file in '/etc/init.d' directory either. Maybe I have missed something in the steps which I am not aware of or maybe there's something else that needs to be done which I haven't. I will much appreciate your help in this regard.

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Cathleen A. Gagne, Senior Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Check out the original tip on Compiling OpenSSH on Ubuntu 7.04 Feisty Fawn Server.

You're very welcome, and yes, you missed a small step. Your working directory should be '/etc/init.d' and you should perform this step.

Download the file 'ssh' from www.lostcreations.com. This new file is edited so that all hardcoded references to the Ubuntu repository version of OpenSSH are replaced with variables and those variables are set to the new version of OpenSSH.

  'sudo wget http://www.lostcreations.com/~akutz/openssh-4.6p1/ssh;
  chmod +x ssh'

This was first published in July 2007