All-terrain secure shell (ssh)
Table of Contents
Handy commands for working with ssh in many OS.
SSH server
Linux
[To-be-updated]
Mac OSX
Check if SSH Remote Login is enabled
sudo systemsetup -getremotelogin
Example output
Remote Login: Off
Enable SSH Remote Login
Include the flag -f
to override the prompt
sudo systemsetup -f -setremotelogin on
This command will give no output, but you can check the status again using sudo systemsetup -getremotelogin
.
Disable SSH Remote Login
sudo systemsetup -setremotelogin off
Windows
Install some app that can let you run the SSH server on Windows. Commands are not applicable.