ssh connection - list remote files - execute failed

hi all, sorry for the late reply… it looked trickier then expected.

just quickly documenting it here, maybe it can server for others as well

  1. create an ovpn certificate the usual way (you can find many tutorials on this)

  2. grab the private key section from the ovpn file

  3. paste the content into a .key file (i used “knime.private.key”)


    –> make sure you set the permissions to chmod 600 !!

  4. convert the private key to an ssh .pub
    ssh-keygen -y -f ./.ssh/knime.private.key > ./.ssh/knime.private.key.pub

  5. copy the knime.static.key.pub to the server
    ssh-copy-id -i ./.ssh/knime.private.key droplet@104.123.45.678
    –> don’t be fooled, ssh-copy-id appends the “.pub” suffix to the input file argument given

that’s it

after that, point the “SSH connection” node to the knime.private.key and you’re off…

Enjoy

Herman

some references



6 Likes