Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello I am building a new linux webserver and am in the proccess of upgrading the packages but ssh has me stumped, I downloaded the source to it untarred it and went into the source directory, I did a
It all worked fine with no errors but the sshd version is still the same as it was, the default that comes with redhat 7.2, but the version for ssh is the new one I am trying to install which is: openssh-3.4p
When I go into the source I downloaded after doing the make install there is a sshd in there that if I type ./sshd -V it shows the correct version for that binary, do I just need to copy that to where the current one is? I have shut down and restarted the machine in case it just hadn't restarted with the new binary yet. I cannot find any documentation on openssh site about this so I was hoping that someone here could help, thank you.
Check your Makefile and see where it installs the binaries. Chances are it's a different path than the RH default. You should be able to pass that info to the .configure script as well. You should also make sure that if you are initiating the service from inetd or xinetd that it points to the proper location as well.
You don't really need to install it from source ... there are ready made RPM's available for that. If you want to install the source version I suggest you REMOVE the old versions before. To do so check what ssh stuff you've installed using
rpm -qa | grep ssh
Then remove those packages using rpm -e. After you've done that you can proceed with the installing from source if you really want/need to do it!
I just reran the ./configure make make install to look for errors and this time I noticed the output below, this is the end of when I put in the make install, What is the sshd user it is looking for?
if you need more of the output I will post any and all of the screen output.
/usr/local/etc/ssh_host_key already exists, skipping.
/usr/local/etc/ssh_host_dsa_key already exists, skipping.
/usr/local/etc/ssh_host_rsa_key already exists, skipping.
id sshd || \
echo "WARNING: Privilege separation user \"sshd\" does not exist"
id: sshd: No such user
WARNING: Privilege separation user "sshd" does not exist
The source install defaults to PREFIX=/usr/local. Redhat probably built them with a PREFIX=/usr. If you intend to use privelage separation, you will need to create a sshd user for the processes to run under.
Thank you to those who replied, the advice to remove the old rpm's helped alot, and then from there I found an article on the net about the priviledged user it is talking about, I will make a couple of comments for anyone else with this problem
I found in the source directory that I downloaded a file called README.privsep this tells what changes to make to the system for the newest sshd and actually rather than write more I will leave it at that because that file is where I found the rest and I would rather have that read than have me misquote or mislead someone.