SSHCommand icon indicating copy to clipboard operation
SSHCommand copied to clipboard

SSH_Command in Configuration.yaml

Open labouman opened this issue 1 year ago • 3 comments
trafficstars

I have a question about SSH_Command i've added it in configuration.yaml als you discribed with the link to secret and then i can't find out how to select is when i want to send a command to that specific host.

labouman avatar Aug 21 '24 10:08 labouman

I don't understand question.

AlexxIT avatar Sep 02 '24 04:09 AlexxIT

i've added the following to my configuration.yaml

ssh_command:
  host: 192.168.1.123
  port: 22
  user: pi
  pass: !secret ssh_parssword

And now i want to use this configuration inside an automation to exacute an SSH_command to this specific host without filling it all up again.

labouman avatar Sep 02 '24 10:09 labouman

Just call service: https://github.com/AlexxIT/SSHCommand?tab=readme-ov-file#usage

AlexxIT avatar Sep 02 '24 13:09 AlexxIT