I try to build an automation to udpdate my self hosted n8n instance.
My problem’s that when I try to register new credentials to access my VPS via SSH, the password is automatically changed by my n8n api key.
To explain: I type my VPS’ password in the password field of the SSH credential editor, I save it and as soon as I leave the credential editor and open it back, the password is automatically replaced by my n8n API Key.
Do you know where this problem would come from?
I have never seen that happen before, The password field shouldn’t show you the password again once entered and saved so to check when you say it is showing the n8n api key is it showing the key or something like this?
Yeah so we don’t load the password in the front end once entered so if you change it to an expression and save it you will lose it and it won’t work
With the SSH node you can run commands on a session but it is important to note that we create a non-interactive session which on some flavours means that the user profile won’t be sourced so you might need to use the full path to the cli.