Skip to content

Commit

Permalink
chore: set AddressFamily to any in sshd_config
Browse files Browse the repository at this point in the history
  • Loading branch information
leoslf committed Jun 12, 2024
1 parent ebc4331 commit 2aadf01
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 @@ -44,6 +44,8 @@ runs:
sudo sed -i.bak "s/#\?\(PermitRootLogin\).*/\1 yes/g" "$SSHD_CONFIG"
fi
sudo sed -i.bak "s/#\?\(AddressFamily\).*/\1 any/g" "$SSHD_CONFIG"
sudo sed -i.bak "s/#\?\(ListenAddress\).*/\1 ${{ inputs.host }}:${{ inputs.port }}/g" "$SSHD_CONFIG"
- name: Generate key pairs
Expand Down

0 comments on commit 2aadf01

Please sign in to comment.