Skip to content

Unable to SSH hate to Pi #36

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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