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) - [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