A user in the n8n Discord community was asking about how to use the new SSH node and pass the hostname through to the credentials that the node is using.
I put together a quick post on how to do exactly this:
https://t5n.xyz/setting-credentials-programmatically/