mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
feat(ssh): add ssh server start/stop cmd
This commit is contained in:
7
plugins/common/ssh_server.zsh
Normal file
7
plugins/common/ssh_server.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
function ssh-server-start() {
|
||||
sudo systemsetup -setremotelogin on
|
||||
}
|
||||
|
||||
function ssh-server-stop() {
|
||||
sudo systemsetup -setremotelogin off
|
||||
}
|
||||
Reference in New Issue
Block a user