disable hostkey check for dynamic/changing ip (ssh)

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
heliosone
Posts: 39
Joined: 26 Mar 2016 08:39

disable hostkey check for dynamic/changing ip (ssh)

Post by heliosone » 18 Apr 2017 06:48

Hello!

I try to connect via ssh to a computer with a dynamic IP.
The Ip is extracted from a logfile from another computer,and then stored in a global_variable.

I can connect to the remote site using the variable,yet no command is executed,as the hostkey is rejected (from automatic).

I get the error message : "action not executed successfully : reject Hostkey: xxx.xxx.xxx.xxx"

If I manually enter the ip(read out from the variable) ,then do a update/test connection,everything works fine ... but thats pointless,as I basically have to enter the ip manually,then update the hostkey everytime the ip changes :(

Is there a way around/to automate this ?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: disable hostkey check for dynamic/changing ip (ssh)

Post by Martin » 19 Apr 2017 19:07

Hi,

There's currently no way to turn off the host key check so you have to go through the test connection UI.
I'll add an option to disable the host key check.

Regards,
Martin

heliosone
Posts: 39
Joined: 26 Mar 2016 08:39

Re: disable hostkey check for dynamic/changing ip (ssh)

Post by heliosone » 23 Apr 2017 13:37

thanks in advance
finally a reason to update my old (but perfectly working) version :)

Post Reply