I downgraded one of my computers to 15.2 because this is the only way to have a sound. After my NFS server problem has been solved now, I have one more problem, i.e. I cannot access to this computer, called "pachew", by ssh. When ssh is invoked from outside, no prompt for a password appears, but any connection is immediately refused, and this error message appears: "ssh: connect to host pachew port 22: No route to host" Any suggestions? Thanks in advance, Wolfgang
On 2021-10-02 12:50, Wolfgang Mueller wrote:
invoked from outside,
What does that mean?
"ssh: connect to host pachew port 22: No route to host" Any suggestions?
1. ping pachew 2. host pachew 3. and check out ~/.ssh/config if you have something there for the ip-number or the host pachew probably not meaningful as you have no route to it but anyway: 4. ssh -v <ip or name> -- /bengan
Wolfgang Mueller wrote:
I downgraded one of my computers to 15.2 because this is the only way to have a sound.
After my NFS server problem has been solved now, I have one more problem, i.e. I cannot access to this computer, called "pachew", by ssh. When ssh is invoked from outside, no prompt for a password appears, but any connection is immediately refused, and this error message appears:
"ssh: connect to host pachew port 22: No route to host"
Any suggestions?
a) Can you ping that host? b) is sshd running ? c) firewall ? -- Per Jessen, Zürich (20.7°C)
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
Wolfgang Mueller wrote:
I downgraded one of my computers to 15.2 because this is the only way to have a sound.
After my NFS server problem has been solved now, I have one more problem, i.e. I cannot access to this computer, called "pachew", by ssh. When ssh is invoked from outside, no prompt for a password appears, but any connection is immediately refused, and this error message appears:
"ssh: connect to host pachew port 22: No route to host"
Any suggestions?
a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
c) firewall?.
The firewall is off. Regard, Wolfgang
On 02/10/2021 14.56, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
..
Any suggestions?
a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
Yes, it can be downloaded, just search in yast or zypper. The rpm name is "openssh". Next time, look carefully during installation at the bottom of the summary screen, that ssh is not enabled/installed/open, and activate it. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))
On Sat, 2 Oct 2021 at 15:05:21 +0200, Carlos E. R. wrote:
On 02/10/2021 14.56, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
[...] a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
Yes, it can be downloaded, just search in yast or zypper.
root#zypper in openssh Loading repository data... Reading installed packages... 'openssh' is already installed. No update candidate for 'openssh-8.1p1-lp152.4.18.1.x86_64'. The highest available version is already installed.
The rpm name is "openssh".
Next time, look carefully during installation at the bottom of the summary screen, that ssh is not enabled/installed/open, and activate it.
As far as I don't have it... Regards, Wolfgang
On 02/10/2021 15.14, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 15:05:21 +0200, Carlos E. R. wrote:
On 02/10/2021 14.56, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
[...] a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
Yes, it can be downloaded, just search in yast or zypper.
root#zypper in openssh
Loading repository data... Reading installed packages... 'openssh' is already installed. No update candidate for 'openssh-8.1p1-lp152.4.18.1.x86_64'. The highest available version is already installed.
The rpm name is "openssh".
Next time, look carefully during installation at the bottom of the summary screen, that ssh is not enabled/installed/open, and activate it.
As far as I don't have it...
You do have it, according to zypper. systemctl --now enable sshd.service -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))
On Sat, 2 Oct 2021 at 15:23:36 +0200, Carlos E. R. wrote:
On 02/10/2021 15.14, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 15:05:21 +0200, Carlos E. R. wrote:
On 02/10/2021 14.56, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
[...] a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
Yes, it can be downloaded, just search in yast or zypper.
root#zypper in openssh
Loading repository data... Reading installed packages... 'openssh' is already installed. No update candidate for 'openssh-8.1p1-lp152.4.18.1.x86_64'. The highest available version is already installed.
The rpm name is "openssh".
Next time, look carefully during installation at the bottom of the summary screen, that ssh is not enabled/installed/open, and activate it.
As far as I don't have it...
You do have it, according to zypper.
systemctl --now enable sshd.service
This last command made it. Now, ssh works without groans. Thanks a lot y tantísimas gracias, Carlos! Wolfgang
Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 15:05:21 +0200, Carlos E. R. wrote:
On 02/10/2021 14.56, Wolfgang Mueller wrote:
On Sat, 2 Oct 2021 at 13:20:41 +0200, Per Jessen wrote:
[...] a) Can you ping that host?
Yes, ping works correcty.
b) is sshd running?
No, neither is sshd running, nor is it available in Yast nor can it be downloaded.
Yes, it can be downloaded, just search in yast or zypper.
root#zypper in openssh
Loading repository data... Reading installed packages... 'openssh' is already installed.
Good, it is selected by default, so it would have been quite odd if you didn't have it. Next is to check that it is running - a) ss -ltn (you should see something listening on port 22) b) systemctl status sshd If it isn't running, follow Carlos' suggestion. -- Per Jessen, Zürich (22.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland.
participants (4)
-
Bengt Gördén
-
Carlos E. R.
-
Per Jessen
-
Wolfgang Mueller