sftp-action icon indicating copy to clipboard operation
sftp-action copied to clipboard

Can't add secret mask / All configured authentication methods failed

Open AndreMikulec opened this issue 2 years ago • 1 comments

Hi,

I can not get this to work "at all" on Github Actions.

https://github.com/AndreMikulec/testGithubActions/blob/cbfb3a172597e6064cc5398f87565cb2d3433462/.github/workflows/Test_SFTP_Upload_Files.yml

https://github.com/AndreMikulec/testGithubActions/runs/7377321008?check_suite_focus=true

Sun, 17 Jul 2022 11:39:53 GMT
Warning: Can't add secret mask for empty string in ##[add-mask] command.
Sun, 17 Jul 2022 11:39:56 GMT
Error: Action failed with error Error: connect->getConnection: All configured authentication methods failed

Do you have ANY simple working example, at all? Does https://github.com/Creepios/sftp-action just NOT work, [anymore]?

This sftp target is the same as what I use on Appveyor.

https://github.com/AndreMikulec/r-base/blob/40dda14d5957ea5f2190825d70df3bee23e1e966/appveyor.yml#L85

When I try manually, this works, fine.

AnonymousUser@ANONYMOUST ~
$ sftp andremikulec,[email protected]
(andremikulec,[email protected]) Password:
Connected to frs.sourceforge.net.
sftp> pwd
Remote working directory: /
sftp> cd /home/frs/project/andremikulec
sftp> pwd
Remote working directory: /home/pfs/project/andremikulec
sftp>
psftp: no hostname specified; use "open host.name" to connect
psftp> open frs.sourceforge.net
login as: andremikulec,andremikulec.u
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
Remote working directory is /
psftp> cd /home/frs/project/andremikulec
psftp> pwd
Remote directory is /home/pfs/project/andremikulec
psftp>

Thanks, Andre Mikulec

AndreMikulec avatar Jul 17 '22 12:07 AndreMikulec