
本文共 1436 字,大约阅读时间需要 4 分钟。
������ SSH ������
_mac ��������������� SSH ������������������������������������������������������������������������ SSH ������������������
������ SSH ������
������ launchctl ���������������������
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
������ SSH ������
��������� SSH ��������������������� launchctl:
sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist
������ SSH ������������
��������������������������� SSH ���������
sudo launchctl list | grep ssh
��������������������������� ssh
������������������ SSH ���������������������
SSH ���������������������������
������������������
���������������������������������������������
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
������ SSH ������
������ SSH ������������������������������������������������
ClientAliveInterval
��������������������������������������������������������������������� 0��������������������������������� 60 ���������������������������������������������������
ClientAliveCountMax
������������������������������������������������������ 3������������������������������������������
������ vim
���������������
sudo vim /etc/ssh/sshd_config
���������������������
������������������������ SSH ������������������������
sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plistsudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
��������������������� SSH ������������������������������������������������������������������
发表评论
最新留言
关于作者
