Hi there,
i have big trouble with copy file via scp from raspberry to Hass.io
execute via ssh works very well:
shell_command:
linux_maintenance: ssh -i /config/ssh -o 'StrictHostKeyChecking=no' [email protected] '~/sys_maintenance'
but when i try to copy an file via scp, it always comes an errorcode:
Logger: homeassistant.components.shell_command
Source: /usr/src/homeassistant/homeassistant/components/shell_command/__init__.py:117
Integration: Shell Command (documentation, issues)
First occurred: 10:55:20 (1 occurrences)
Last logged: 10:55:20
Error running command: `scp -i /config/ssh -o 'StrictHostKeyChecking=no' [email protected]:speed.log ~/config/user`, return code: 1
NoneType: None
when i run this command in HASS Terminal, it works pretty well.
whats the problem here?
THX