I have established a direct connection to a web server (GreenGeeks) with the SSH keys added to the remote server. I can log on to the remote server via
When I set weewx.conf, Rsync to true I get the following error message in syslog;
Apr 14 12:00:36 RPi-weather weewx[29143] DEBUG weewx.reportengine: Running report 'RSYNC'
Apr 14 12:00:36 RPi-weather weewx[29143] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'
Apr 14 12:00:36 RPi-weather weewx[29143] DEBUG weeutil.rsyncupload: rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e ssh', '/var/www/html/weewx/', 'xxx...@107.x.xxx.xx:/home//weewx/wx_standard_report']]
Apr 14 12:00:39 RPi-weather weewx[29143] ERROR weeutil.rsyncupload: [['rsync', '--archive', '--stats', '-e ssh', '/var/www/html/weewx/', 'xxx...@107.x.1xxx.xx:Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).. rsync: connection unexpectedly closexxxd (0 bytes received so far) [sender]. rsync error: unexplained error (code 255) /home/xxxxxxx/weewx/wx_standard_report']] reported errors: xxx...@107.x.xx.xx: at io.c(235) [sender=3.1.3]
Apr 14 12:00:39 RPi-weather weewx[29143] INFO weeutil.rsyncupload: rsync executed in 2.62 seconds
Would someone be kind enough to post their ~/.ssh/config and their /etc/ssh/ssh_config and /etc/ssh/sshd_config files so I can see if I have an error in one of these files with my setup, please. Any other feedback would also be very welcome.