This commit is contained in:
Oystein Kristoffer Tveit 2024-05-01 15:08:12 +02:00
parent 21c9eb7fa1
commit cccfc5e1ca
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ runs:
User ${{ inputs.username }}
HostName ${{ inputs.host }}
Port ${{ inputs.port }}
IdentityFile ~/.ssh/id_rsa
ForwardAgent no
ForwardX11 no
PasswordAuthentication no
@ -97,5 +98,5 @@ runs:
- name: Transfer files
run: |
echo "Transferring files"
rsync ${{ inputs.args }} "${{ inputs.source }}" "targethost:${{ inputs.target }}"
rsync ${{ inputs.args }} "${{ inputs.source }}" --rsh "ssh -v" "targethost:${{ inputs.target }}"
shell: bash