drone-ssh icon indicating copy to clipboard operation
drone-ssh copied to clipboard

Does it support ed25519 ?

Open Asing1001 opened this issue 5 years ago • 1 comments

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'
  },
}]

Asing1001 avatar Dec 15 '20 19:12 Asing1001

See the documentation: https://github.com/appleboy/ssh-action#setting-up-a-ssh-key

appleboy avatar Jun 15 '22 14:06 appleboy