drone-ssh
drone-ssh copied to clipboard
Does it support ed25519 ?
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
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