Closed xiaoqinqiu closed 6 years ago
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
33 Instances 34 100
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
根治“connection reset by peer”问题,需要在case的teardown里面,把stop_all 换成destroy_cluster
- Step1 undo config file
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
- Step2. modify instances on ssh.plist, default 42
33Instances
34 100
- Step3. load config file:
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist