OliveTin / OliveTin

OliveTin gives safe and simple access to predefined shell commands from a web interface.

Home Page:https://olivetin.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Host key verification failed

tuxrinku opened this issue · comments

Describe the bug
I have an action set up with ssh, but when I try to launch it through Olivetin I get an error Host key verification failed. I properly set up the ssh keys, I don't need a password to log into the host when using ssh through the terminal, and launching the action command directly from the terminal works without any problem.

For example : shell: ssh -i /home/pi/.ssh/id_rsa host@192.168.0.99 -p 222 ls this works perfectly fine through the terminal, but when launching it through olivetin, I get the mentioned error in the stderr output.

To Reproduce
Steps to reproduce the behavior:
Set up an action using ssh to launch a command on host machine

Expected behavior
The action gets executed with no problem.

OliveTin is installed on a raspberry pi 4 using deb package

Just figured it out, I had to make sure the pi user was used using sudo -i -u pi ssh....