Hi there guys.
I was hoping that you could help me with an issue that I’ve been experiencing
Background:
I’ve recently set-up my NAS with all of my media on it
I want to use my RasPi 4 running OSMC as my media centre.
Issue:
Currently I cannot ssh into the RasPi / OSMC
I get the following error message:
ssh: connect to host osmc port 22: Connection refused
Troubleshooting steps:
-
I’ve given my Pi a static IP address (via DHCP reservation) on my internal
LAN -
I can ping the RasPi without any issues (via both hostname and IP address)
-
I ran a command (on the Pi) to see if ssh is is installed and enabled =
sudo service ssh status
however I got the following error message:
ssh.service - OpenBSD Secure Shell Server
Loaded: loaded (/lib/systemd/system/ssh.service; disabled; vendor present;
enabled)
Active: inactive (dead)
Docs: man:sshd (0)
man:sshd_config(5)
Which would suggest the ssh is not currently active
Questions:
-
Does OSMC come with ssh enabled by default ?
(I have read old forum posts that state that it is / should be -
How do I install / enable ssh on the Pi / OSMC so that I can access
it over my network via ssh ?
TIA for any help and advice.
PC details:
OS: Ubuntu 20.04 LTS
OS type: 64-bit
DE: KDE 5.18.8
Kernel: 5.14.0-1051-oem
CPU: 4x Intel Core-2 Q8200 (@2.33 Ghz)
GFX: Intel HD
RAM: 8GB
Raspberry Pi 4
RAM: 4GB
OSMC: OSMC_TGT_rbp4_20220314 / (2022-03-14)