May 28 07:41:31 raspberrypi weewx[698] ERROR weeutil.rsyncupload: [['rsync', '--archive', '--stats', '-e ssh', '/var/www/html/', 'US...@mydomain.com:/home4/USER/public_html']] reported errors: Permission denied, please try again.. Received disconnect from XX.XX.XX.XX port 22:2: Too many authentication failures for USER. Disconnected from XX.XX.XX.XX port 22. rsync: connection unexpectedly closed (0 bytes received so far) [sender]. rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
[[RSYNC]]
skin = Rsync
enable = true
server = mydomain.com
user = USER
path = /home4/USER/public_html/
HTML_ROOT = /var/www/html/
delete = 0
sudo wee_reports
rsync --archive -e ssh /var/www/html/ US...@mydomain.com:/home4/USER/public_html/
sudo rsync --archive -e ssh /var/www/html/ US...@mydomain.com:/home4/USER/public_html/
May 28 11:15:39 raspberrypi wee_reports[8119] INFO weeutil.rsyncupload: rsync'd 81 files (1,174,239 bytes) in 5.17 seconds
On May 28, 2020, at 8:34 AM, John Kline <jo...@johnkline.com> wrote:
Does it work if you add:[[SSH]]ssh_options = -o IdentitiesOnly=yes
May 28 11:45:58 raspberrypi weewx[8853] ERROR weeutil.rsyncupload: [['rsync', '--archive', '--stats', '-e ssh', '/var/www/html/', 'US...@mydomain.com:/home4/USER/public_html']] reported errors: Permission denied, please try again.. Received disconnect from XX.XX.XX.XX port 22:2: Too many authentication failures for USER. Disconnected from XX.XX.XX.XX port 22. rsync: connection unexpectedly closed (0 bytes received so far) [sender]. rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
[[SSH]]ssh_options = -o IdentitiesOnly=yes
On May 28, 2020, at 8:56 AM, Benjamin Trey Blue <tblue...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/76ef08ae-203e-4caf-9cfa-616faa16be67%40googlegroups.com.
May 28 12:51:17 raspberrypi weewx[10689] ERROR weeutil.rsyncupload: [['rsync', '--archive', '--stats', '-e ssh -o IdentitiesOnly=yes', '/var/www/html/', 'US...@mydomain.com:/home4/USER/public_html']] reported errors: Permission denied, please try again.. Received disconnect from XX.XX.XX.XX port 22:2: Too many authentication failures for USER. Disconnected from XX.XX.XX.XX port 22. rsync: connection unexpectedly closed (0 bytes received so far) [sender]. rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
May 28 12:57:23 raspberrypi wee_reports[10914] INFO weeutil.rsyncupload: rsync'd 112 files (1,461,848 bytes) in 7.24 seconds
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
On May 28, 2020, at 10:01 AM, Benjamin Trey Blue <tblue...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/215768b7-1c70-447b-9f14-013db031ee89%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cffaa2cc-5041-4a9c-9120-4e0cb7a2b335%40googlegroups.com.
...but I'm too Linux-dumb to have figured it out yet and I'm not really sure how to go about even troubleshooting it further.
Should I maybe consider setting-up weewx to run as a non-root user and then reconfigure the passwordless SSH, assuming I can get that bit restored to a blank slate?
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cffaa2cc-5041-4a9c-9120-4e0cb7a2b335%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cffaa2cc-5041-4a9c-9120-4e0cb7a2b335%40googlegroups.com.
I am having a similar issue. I keep seeing mention of the need or possibility to provide correct keys etc for root to use, but have not found anything concrete to go on.