[mythtv-users] SSH from the Backend

John jksjdevelop at gmail.com
Mon Oct 26 11:15:27 UTC 2020


On 25/10/2020 11:03, Jim Abernathy wrote:
>
> 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
>
>
Thanks worked great




More information about the mythtv-users mailing list