Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Ssh command sintax

$
0
0

@Dingin wrote:

Hi all,
Im trying to do some commands on ssh but it seams not to work on the gui
they work fine on the cli and thats what confuses me maybe some one can clarify it for me.
here is the command on the CLI

~ $ ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -q root@192.168.12.161 iocage get state Plex-PlexPass
up

But on the gui i get:

Command failed: ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -q root@192.168.12.161 iocage get state Plex-PlexPass

6:20 PM components/command_line/sensor.py (ERROR) - message first occurred at 6:10 PM and shows up 3 times

Here is my sensor:

  • platform: command_line
    name: ‘Plex Server status’
    scan_interval: 300
    command: ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -q root@192.168.12.161 iocage get state Plex-PlexPass

any idea what im doing wrong?

thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles