Skip to content

Unable to SSH hate to Pi #36

@oneseventhree

Description

@oneseventhree

Hi,

I am unsure why I can't get this to work:

sequence:
  - action: ssh_command.exec_command
    metadata: {}
    data:
      command: sudo reboot
      host: 192.168.1.189
      port: 8090
      user: xxx
      pass: xxx
alias: HyperHDR - Shutdown

I've also tried:
command: reboot
with no success.

It works when I do it through terminal(mac):
Image

What am I doing wrong?

Also, I've added this into config.yaml:

# SSH - HyperHDR
ssh_command:
  host: 192.168.1.189
  port: 8090
  user: !secret hyperhdr_username
  pass: !secret hyperhdr_password

How do I use this in the script?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions