Closed Asing1001 closed 1 year ago
Given a file as following, it works with a ssh_key generate with rsa but ed25519 Where ed25519 is a recommended algorithm by github here
ssh_key
rsa
ed25519
If it does support, what should I change to make it work? Thank you
local deploy(host) = { name: host, image: 'appleboy/drone-ssh', settings: { host: host, username: 'user', port: 22, key: { from_secret: 'ssh_key', }, script: [ 'echo 123' ], } }; [{ kind: 'pipeline', name: 'default', clone: { disable: true, }, steps: [ deploy('example.com'), ], trigger: { event: ['push'], branch: 'test-ssh' }, }]
See the documentation: https://github.com/appleboy/ssh-action#setting-up-a-ssh-key
Given a file as following, it works with a
ssh_key
generate withrsa
buted25519
Whereed25519
is a recommended algorithm by github hereIf it does support, what should I change to make it work? Thank you