Merge pull request #109 from thomanq/remote-login

Enable/Disable Remote Login
This commit is contained in:
Marcel Bischoff 2016-05-09 13:18:56 +02:00
commit be3200c97d

View File

@ -59,6 +59,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
- [Hostname](#hostname) - [Hostname](#hostname)
- [Network Preferences](#network-preferences) - [Network Preferences](#network-preferences)
- [Networking Tools](#networking-tools) - [Networking Tools](#networking-tools)
- [SSH](#ssh)
- [TCP/IP](#tcpip) - [TCP/IP](#tcpip)
- [Wi-Fi](#wi-fi) - [Wi-Fi](#wi-fi)
- [Package Managers](#package-managers) - [Package Managers](#package-managers)
@ -958,6 +959,18 @@ ping -o github.com
traceroute github.com traceroute github.com
``` ```
### SSH
#### Remote Login
```bash
# Enable remote login
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
# Disable remote login
sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist
```
### TCP/IP ### TCP/IP
#### Show Application Using a Certain Port #### Show Application Using a Certain Port