Difference between revisions of "Activate SSH server on macOS"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
== Related commands ==
 
== Related commands ==
* <code>sudo [[launchctl stop]] [[com.openssh.sshd]]</code>
+
* <code>sudo [[launchctl stop com.openssh.sshd]]</code>
 
* <code>sudo [[launchctl start]]</code>
 
* <code>sudo [[launchctl start]]</code>
  

Revision as of 17:10, 5 October 2021

Disable:

sudo systemsetup -setremotelogin off
Do you really want to turn remote login off? If you do, you will lose this connection and can only turn it back on locally at the server (yes/no)?

Related commands

See also

  • http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/
  • Advertising: