disable ssh login for user
Shell
# To deny SSH access to specific user called “sk”, edit sshd_config file:
$ sudo vi /etc/ssh/sshd_config
# Add/edit the following line in sshd_config file.
DenyUsers sk
# Deny SSH access to multiple users, specify the usernames with space separated as shown below.
DenyUsers sk ostechnix
# Deny SSH access to an entire group, for example root, add:
DenyGroups root
# Save and quit the ssh config file. Restart ssh service to take effect the changes.
$ sudo systemctl restart sshd
Also in Shell:
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- git tag a previous commit
- Category
- Shell
- Title
- normalize-audio: command not found
- Category
- Shell
- Title
- php my admin
- Category
- Shell
- Title
- loop through directories bash
- Category
- Shell
- Title
- ssh usage copy file
- Category
- Shell
- Title
- convertingwav to mp3 linux ffmpeg
- Category
- Shell
- Title
- install laravel on windows
- Category
- Shell
- Title
- how to check if django is installed in ubuntu
- Category
- Shell
- Title
- linux see drivers
- Category
- Shell
- Title
- change linux user password
- Category
- Shell
- Title
- powershell foreach
- Category
- Shell
- Title
- clear untracked files git
- Category
- Shell
- Title
- pip install tensorflow not working
- Category
- Shell
- Title
- check apache version ubuntu
- Category
- Shell
- Title
- brew install ruby
- Category
- Shell
- Title
- check directory size
- Category
- Shell
- Title
- check 64 or 32 bit linux
- Category
- Shell
- Title
- ubuntu fractional scaling
- Category
- Shell
- Title
- ubuntu server does not run scripts
- Category
- Shell
- Title
- laravel installation from github
- Category
- Shell
- Title
- grep ignore case
- Category
- Shell
- Title
- Tensorflow GPU Installation conda
- Category
- Shell
- Title
- how to run shell script
- Category
- Shell
- Title
- laravel create model and migration
- Category
- Shell
- Title
- turn of raspberry
- Category
- Shell
- Title
- kill a process at a port
- Category
- Shell
- Title
- pod update specific pod
- Category
- Shell
- Title
- install vuex orm
- Category
- Shell
- Title
- source fish config
- Category
- Shell
- Title
- flutter create command
- Category
- Shell
- Title
- curl ignore certificate
- Category
- Shell
- Title
- list all ssh connections ubuntu
- Category
- Shell
- Title
- upgrade npm
- Category
- Shell
- Title
- mac anydesk start at login
- Category
- Shell
- Title
- linux port forward ssh
- Category
- Shell
- Title
- Creating an environment from an environment.yml file
- Category
- Shell
- Title
- git force pull
- Category
- Shell
- Title
- how to make a new branch git
- Category
- Shell
- Title
- linux start mongodb
- Category
- Shell
- Title
- docker compose installation
- Category
- Shell
- Title
- git how to work with remote branch and fork
- Category
- Shell
- Title
- how to commit changes in git command
- Category
- Shell
- Title
- git get local branches
- Category
- Shell
- Title
- git proxy
- Category
- Shell
- Title
- fetching a forked branch
- Category
- Shell
- Title
- how to avoid some files changes to not come in git status
- Category
- Shell
- Title
- Gem::LoadError : "ed25519 is not part of the bundle. Add it to your Gemfile."
- Category
- Shell
- Title
- ubuntu server virtualbox check if guest additions installed
- Category
- Shell
- Title
- how to push in git command line
- Category
- Shell
- Title
- how to upgrade gradle version in linux
- Category
- Shell
- Title
- install poetry
- Category
- Shell
- Title
- pip install bs4 pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org
- Category
- Shell
- Title
- how to search a particular gist in github
- Category
- Shell
- Title
- extract tar.xz ubuntu
- Category
- Shell
- Title
- how to zip with tar command
- Category
- Shell
- Title
- ssh github generate key
- Category
- Shell
- Title
- diff specific file git different branches
- Category
- Shell
- Title
- wtmp is not readable
- Category
- Shell
- Title
- xcode errSecInternalComponent
- Category
- Shell
- Title
- space command line mac
- Category
- Shell
- Title
- bash ls all subdirectories
- Category
- Shell
- Title
- cmd find file dir
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- Load key ".pem": bad permissions
- Category
- Shell
- Title
- unity application cant be opened on mac
- Category
- Shell
- Title
- clone from git Could not find module "@angular-devkit/build-angular
- Category
- Shell
- Title
- npm install --global vue-cli
- Category
- Shell
- Title
- rename a file in linux
- Category
- Shell
- Title
- how to install and update git mac terminal
- Category
- Shell
- Title
- connection failed blueman.bluez.errors.dbusfailederror protocol not available
- Category
- Shell
- Title
- bash remove directory
- Category
- Shell
- Title
- close chrome tab from command line ubuntu
- Category
- Shell
- Title
- conda install paraview
- Category
- Shell
- Title
- bash get current date
- Category
- Shell
- Title
- html webpack plugin
- Category
- Shell
- Title
- how to uninstall react native cli globally
- Category
- Shell
- Title
- how to change dotnet version
- Category
- Shell
- Title
- linux edit file
- Category
- Shell
- Title
- aws ssm agent installed but does not show in managed instances
- Category
- Shell
- Title
- how to install docker ubuntu
- Category
- Shell
- Title
- Documentazione relativa a Sottosistema di Windows per Linux
- Category
- Shell
- Title
- install sl
- Category
- Shell
- Title
- pip3 not found
- Category
- Shell
- Title
- git fklow init
- Category
- Shell
- Title
- What debian version do i use
- Category
- Shell
- Title
- install expo cli windows
- Category
- Shell
- Title
- ubuntu open file from terminal
- Category
- Shell
- Title
- cmd substring replace
- Category
- Shell
- Title
- how to install any package in node.js
- Category
- Shell
- Title
- gnome-shell turn off
- Category
- Shell
- Title
- yarn add global
- Category
- Shell
- Title
- brew minikube custom version install
- Category
- Shell
- Title
- windows subsystem for linux optional component is not enabled. please enable it and try again
- Category
- Shell
- Title
- ubuntu unzip zip
- Category
- Shell
- Title
- repro blender ubuntu 18.04
- Category
- Shell
- Title
- serverless not using aws profile
- Category
- Shell
- Title
- shell script to check the output of a file
- Category
- Shell
- Title
- linux give full permission to directory
- Category
- Shell
- Title
- git file history
- Category
- Shell