From e7f5a88633200e8d9e06092815b820959a12b966 Mon Sep 17 00:00:00 2001 From: Thomas Anquetin <@ThomasAnquetin> Date: Sun, 8 May 2016 18:39:25 +0200 Subject: [PATCH] Enable/Disable Remote Login --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 70c34bb..7e5e2a1 100644 --- a/README.md +++ b/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