[mythtv-users] SSH from the Backend

Jim Abernathy jfabernathy at gmail.com
Sun Oct 25 11:03:35 UTC 2020


On 10/25/20 6:56 AM, John wrote:
> I am trying to issue a command from the master to the slave backend 
> using ssh.
>
> Something like "ssh 'pi at 192.168.0.127' 'sudo pistop.sh'"
>
> It works from the user account but not when called from the master 
> backend presumably because it runs under account 'mythtv'.
>
> How do I give the 'mythtv' account ssh credentials?
>
I just make sure 'mythtv' user has a password and is set for bash shell.

the entry in /etc/passwd reads as:

mythtv:x:127:138::/home/mythtv:/bin/bash

your user and group numbers may differ.

use passwd to assign a password

Jim A





More information about the mythtv-users mailing list