Difference between revisions of "Activate SSH server on macOS"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Related commands == | == Related commands == | ||
* <code>sudo [[launchctl stop]] [[com.openssh.sshd]]</code> | * <code>sudo [[launchctl stop]] [[com.openssh.sshd]]</code> | ||
+ | * <code>sudo [[launchctl start]] | ||
== See also == | == See also == |
Revision as of 17:07, 5 October 2021
- Enable:
sudo systemsetup -setremotelogin on
[1] - Disable:
sudo systemsetup -setremotelogin off
- Status:
sudo systemsetup -getremotelogin
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
sudo launchctl stop com.openssh.sshd
sudo launchctl start
See also
- macOS: macOS versions, iTerm2, Homebrew, FileVault, System Integrity Protection,
dscacheutil
, networksetup
, XNU kernel, APFS, diskutil, mdfind, Keychain Access, Growl, Activity Monitor, sidecar, macOS FHS, Apple Notification Center, sw_vers
, Spotlight, pbcopy
, MacOS application firewall, Applesimutils
, Automatic login, security (command)
, codesign
, spctl
, Alfred, Xcode, system_profiler
, log show
, MacOS Preview, Rectangle app, Finder, macOS: Shortcuts, SEP, osascript, macOS profile, UTM, softwareupdate, systemsetup, pmset
, macOS tips, macOS Dock, Automator, SIP, System Preferences, installer, cryptex
, AirPlay, macOs first setup, Universal Control, menu bar, IPSW
sshd
, sshd logs
, sshd -t
, sshd -T
, sshd_config
, sftp
↑ http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/
Advertising: