Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to disable ssh in linux

To stop and disable the SSH server, proceed as follows:

Open a terminal.
Become root.
Issue the following commands:
systemctl stop ssh
systemctl disable ssh
Comment

PREVIOUS NEXT
Code Example
Shell :: install insomnia in ubuntu 
Shell :: speedtest linux 
Shell :: how to rebase initial commit 
Shell :: git revert commit for single file 
Shell :: kubectl describe to yaml 
Shell :: set up ssh for github 
Shell :: Custom Bash Shell 
Shell :: git go back to commit 
Shell :: How to Block Ports in UFW Ubuntu Firewall 
Shell :: tar multiple files and directories 
Shell :: disable heroku router logs 
Shell :: grep word after match 
Shell :: upload git repository to github 
Shell :: git push to create 
Shell :: stash changes before checkout from the branch 
Shell :: docker image is not reseting 
Shell :: install docker on windows server 2019 
Shell :: how to install windows sdk 
Shell :: enviroment variables in firebase 
Shell :: bash substract varible 
Shell :: install kubernetes linux 
Shell :: docker compose volumes 
Shell :: How to create and extract an archive or .tar file using linux commands 
Shell :: push to multiple repos git 
Shell :: fetch a specific branch 
Shell :: clean linux 
Shell :: is it possible to check with my website if an app is installed? 
Shell :: Current user cannot act as service account 881087019435-compute@developer.gserviceaccount.com 
Shell :: nlog linux folder 
Shell :: wget recursive ftp 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =