diff --git a/action.yml b/action.yml index 6750497..046c9c2 100644 --- a/action.yml +++ b/action.yml @@ -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 \ No newline at end of file