diff --git a/plugins/common/ssh_server.zsh b/plugins/common/ssh_server.zsh new file mode 100644 index 00000000..6dddac65 --- /dev/null +++ b/plugins/common/ssh_server.zsh @@ -0,0 +1,7 @@ +function ssh-server-start() { + sudo systemsetup -setremotelogin on +} + +function ssh-server-stop() { + sudo systemsetup -setremotelogin off +}