PINE64
service: command not found - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: service: command not found (/showthread.php?tid=15138)



service: command not found - jojuma - 10-20-2021

Hi,

I am currently trying to make a ssh connection work. I placed the public key and tried to connect. Since that doesn't work yet I tried to check the status of ssh like

Code:
sudo service ssh status

and I get

Code:
sudo: service: command not found

ssh itself seems to be ok, since I get options offered when only typing ssh. How do I get 'service' to work? I searched the net, but I don't find a clear explanation, especially not for the Pinephone which I absolutely don't want to mess up.

Currently I'm on Pinephone KDE (Manjaro/Plasma Mobile):
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.10-1-MANJARO-ARM


Thank you!


RE: service: command not found - kqlnut - 10-20-2021

Manjaro uses systemd and you can interact with systemd services via systemctl. The SSH service is called sshd.service. So you can check its status with
Code:
systemctl status sshd
Here are some more infos on security regarding SSH. The Mobian wiki is a good place to look for (more or less) PinePhone specific stuff in general.

Edit: Just saw you are using Plasma. Since Mobian uses Phosh, a lot of the stuff in the wiki might not be relevant for you. The SSH stuff still applies though since it has nothing to do with the desktop environment.


RE: service: command not found - jojuma - 10-20-2021

Thank you very much!!!

No I was able to SSH into the Pinephone!

Smile