Merge pull request #109 from thomanq/remote-login
Enable/Disable Remote Login
This commit is contained in:
commit
be3200c97d
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)
|
- [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
|
||||||
|
Loading…
Reference in New Issue
Block a user