Enable/Disable Remote Login

This commit is contained in:
Thomas Anquetin 2016-05-08 18:39:25 +02:00
parent 70ee1aa748
commit e7f5a88633

View File

@ -59,6 +59,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
- [Hostname](#hostname)
- [Network Preferences](#network-preferences)
- [Networking Tools](#networking-tools)
- [SSH](#ssh)
- [TCP/IP](#tcpip)
- [Wi-Fi](#wi-fi)
- [Package Managers](#package-managers)
@ -958,6 +959,18 @@ ping -o 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
#### Show Application Using a Certain Port