Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
58
rated 0 times [  58] [ 0]  / answers: 1 / hits: 208374  / 2 Years ago, wed, october 5, 2022, 6:32:09

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running
sudo apt-get remove openssh-client openssh-server and sudo apt-get install openssh-client openssh-server. When I run sudo service ssh restart I get:



stop: Unknown instance:
ssh start/running, process 3638


sudo service sshd start gives me unrecognized service.



When I run ps -A | grep ssh I get nothing. Running ssh localhost gives me a connection refused.


More From » ssh

 Answers
5

Try purging before install:



sudo apt-get purge openssh-server
sudo apt-get install openssh-server

[#32286] Thursday, October 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elopingapo

Total Points: 206
Total Questions: 110
Total Answers: 114

Location: Guam
Member since Tue, Nov 29, 2022
1 Year ago
elopingapo questions
Fri, Sep 10, 21, 17:52, 3 Years ago
Tue, May 24, 22, 00:42, 2 Years ago
Sat, Apr 23, 22, 03:16, 2 Years ago
Fri, Jan 13, 23, 06:41, 1 Year ago
;