According to the web server the public keys were accepted by the server. They have sent a copy of their logs; ### Apr 14 03:24:57 ams102 sshd[2890665]: Accepted publickey for offgrid1 from 49.xxx.xxx.xx port 34506 ssh2: RSA SHA256:oMhJCSYLqpgYZ6mYwxcQvedv+hycs5kTOTLfVKhtPRzmGStXdRaHU Apr 14 03:24:57 ams102 sshd[2890665]: pam_unix(sshd:session): session opened for user oxxxxx1 Apr 14 03:26:42 ams102 sshd[2890665]: pam_unix(sshd:session): session closed for user oxxxxx1
On Wednesday, April 14, 2021 at 4:15:12 PM UTC+10 Dun Mac wrote: > Hi, > 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 > "ssh [email protected]" and it logs on with no passwords. > 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/', > '[email protected]:/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/', > '[email protected]: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: [email protected]: 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. > Duncan > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/324b8b0a-486b-4816-874e-f085f4189791n%40googlegroups.com.
