Ask the Expert

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

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 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;
  chmod +x ssh'

This was first published in July 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: