SSH on macOS
Configuring and Using OpenSSH on macOS
Restart SSH
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plistCustom SSHD Port
Method: /private/etc/services File
ssh 22/udp # SSH Remote Login Protocol
ssh 22/tcp # SSH Remote Login ProtocolResources
Last updated