I installed "OpenSSH 7.9 P1" on Debian 8.6 x86_64 but when I tried "systemctl start sshd" then it show me below error:
Code: Select all
Failed to start sshd.service: Unit sshd.service failed to load: No such file or directory.
Thank you.
Code: Select all
Failed to start sshd.service: Unit sshd.service failed to load: No such file or directory.
Got same error.peter_irich wrote:Try run ssh, not sshd.
Peter.
I don't know. I coped the source file to "/usr/local/src" and compiled it.Segfault wrote:You used prefix /usr/local, I do not use systemd myself, you sure it can cope with it?
How do you install it? I ask because your OpenSSH version is newer than it is in the official Debian 8 repository.hack3rcon wrote:I installed "OpenSSH 7.9 P1" on Debian 8.6 x86_64
Oh dear. Do you mind looking at the title of this thread? And the posts made, along with pastebin link? Unfortunately, our OP does not know how to configure sources properly, leave alone building a deb package and installing from package.None1975 wrote:How do you install it? I ask because your OpenSSH version is newer than it is in the official Debian 8 repository.hack3rcon wrote:I installed "OpenSSH 7.9 P1" on Debian 8.6 x86_64
I download the source code and did "./configure && make && make install".None1975 wrote:How do you install it? I ask because your OpenSSH version is newer than it is in the official Debian 8 repository.hack3rcon wrote:I installed "OpenSSH 7.9 P1" on Debian 8.6 x86_64
Code: Select all
systemctl --user enable ssh-agent
My system not have "ssh-agent.service" at "/usr/lib/systemd/user/".Head_on_a_Stick wrote:Do the generated files include a systemd unit file?
You could steal one from the Debian package
/usr/lib/systemd/user/ssh-agent.service is the one you want.
EDIT: actually, that's a user .service so tryCode: Select all
systemctl --user enable ssh-agent
Why does it make life difficult for yourself? Just install it from official repositoryhack3rcon wrote:I download the source code and did "./configure && make && make install".
Code: Select all
apt install openssh-server
Very well noticed.peter_irich wrote:I think you are going by the not right way. Install packages from repository and will not have a problems.
Just don't show you your arrogance here. We all started learning before knowing anything about Linux. And this forum was created to help each other. Or maybe I'm wrong?Segfault wrote:And the posts made, along with pastebin link? Unfortunately, our OP does not know how to configure sources properly, leave alone building a deb package and installing from package.