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.
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.
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.
I try to install openSSH on my box because I heard it is far safer than telnet, but I have few problems with it...
When I complete my installation, at the end of "make install" I get this msg : id sshd || \
echo "WARNING: Privilege separation user \"sshd\" does not exist"
WARNING: Privilege separation user "sshd" does not exist
Id: sshd: no such user.
And when I try to start sshd, I get this msg : Privilege Separation User sshd does not exist
What I'm suppose to do? I have read some man/how to pages, but found nothing about this... sshd_config does not contain option about a "sshd" user.
Do I have to create a new user called sshd to make it run? I'm not sure to understand... Maybe I forgot something?
Btw, I'm not using PAM or /dev/random, PAM home page give me hundred of modules/apps/option so I don't know wich ones to choose and I don't know how to tell ssl to use /dev/random (open ssh read me say something like this).
Hi there!
Just install the slackware package of the latest version, it sets up everything for you
(By the way,, uninstall any existing versions of OpenSSH before installing the SlackPack)
You can find it here on ftp.slackware.com in the /pub/slackware/slackware-8.1/patches/packages/ directory. Then just do this as root.
cd /pathwhereyoudownloadedOpenSSH
installpkg openssh-3.4p1-i386-1.tgz
Good Luck!
RefriedBean
Last edited by RefriedBean; 07-05-2002 at 12:33 AM.
Thanx Jeremy, now I can start sshd... But I still have problem. I can't log in, look like shhd don't want to accept my password... I will try to find what's going wrong.
Did anyone know how I can add PAM and /dev/random to ssh?
Yes I compiled from source... You say I need to support md5 and shadow? How can I do this? I'm feeling a bit lost,the INSTALL text file is REALLY NOT complete, what I'm suppose to support or not and how?
I'm trying to install OpenSSH 3.4 over 2.9 to protect my server from the vulnerabilities in older versions of the software and I cannot get past this error:
/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"
uid=509(sshd) gid=2003(sshd) groups=2003(sshd)
I've searched many forums and google and have found others who received this same error but I can't get past it. I have tried this:
I've been having the same problem...my post has been under RPM vs Compiling. This is the same issue that I have been having, and even after I create a user sshd, I am unable to log in as well. On the openssh site, there are some mailing list archives. This one in particular mentions Priv. Sep. user.
From the results that came up in my searches I couldn't believe how many others had this same problem. The developers really should have done some beta testing before they released this. It is really frustrating.
I will keep looking and let you know if I get past the error. Please do the same
Running sshd is not the problem, logging in from another machine is a problem. I have the same user accounts on both machines.
Permission denied (publickey,password,keyboard-interactive)
Jeremy, you are correct. They should have at least put a message below the warning saying everything should still work properly. It is very misleading.
The path to the updated SSHD is: /usr/local/sbin/sshd and the older version was /usr/local/sbin/sshd. Should I delete the directory 'sshd' in /usr/sbin?
Originally posted by jeremy You do need to add an sshd user if you compile from source. The following (from README.privsep) is what you need to do to set this up:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.