Jump to content

Recommended Posts

Posted

I get systemctl: unrecognized option '--now"

I also tried sudo systemctl disable ssh

I did something but not disabling ssh (I tried with Putty).

Posted
8 minutes ago, JohnQPublic said:

I get systemctl: unrecognized option '--now"

--now was added in newer versions, so you need to use 2 separate commands instead

sudo systemctl disable sshd
sudo systemctl stop sshd
sudo systemctl enable sshd
sudo systemctl start sshd

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines