Skip to content

Commit

Permalink
chore: restart ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
leoslf committed Jun 13, 2024
1 parent a39b51c commit 470e909
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup-sshd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ runs:
- name: Restart sshd - Linux
if: runner.os == 'Linux'
shell: bash
run: |
sudo systemctl restart ssh
- name: Restart sshd - Mac
if: runner.os == 'macOS'
shell: bash
run: |
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
Expand Down

0 comments on commit 470e909

Please sign in to comment.