Enable/Disable Remote Login
This commit is contained in:
parent
70ee1aa748
commit
e7f5a88633
13
README.md
13
README.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user