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
-
create an ovpn certificate the usual way (you can find many tutorials on this)
-
grab the private key section from the ovpn file
-
paste the content into a .key file (i used “knime.private.key”)
–> make sure you set the permissions to chmod 600 !! -
convert the private key to an ssh .pub
ssh-keygen -y -f ./.ssh/knime.private.key > ./.ssh/knime.private.key.pub -
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