Difference between revisions of "Activate SSH server on macOS"
Jump to navigation
Jump to search
↑ http://osxdaily.com/2016/08/16/enable-ssh-mac-command-line/
Line 2: | Line 2: | ||
* Disable: <code>sudo systemsetup -setremotelogin off</code> | * Disable: <code>sudo systemsetup -setremotelogin off</code> | ||
* Status: <code>[[sudo systemsetup -getremotelogin]]</code> | * Status: <code>[[sudo systemsetup -getremotelogin]]</code> | ||
− | |||
− | |||
− | |||
Disable: | Disable: | ||
sudo systemsetup -setremotelogin off | 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)? | 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 == | == Related commands == |
Revision as of 16:53, 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
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
Advertising: