passwordless rsync over ssh issue
I have setup rsync over ssh passwordless on all my computers. But this one computer running windows 7 and cwrsync works differently than my other windows 7 computers.
I am able to set it up so it can ssh into my server using the authorized_keys file. I set it to run my rsync script and it errors out. authorized keys file looks like this: command="rsync --server -vlogDtprze.iLsf . /media/backup/Bill/" ssh-rsa AAAAC5NzaC-etc All my other computers run this same exact command. If I remove the authorized keys file and run my backup script from the windows 7 computer, a password to login is required. I am able to type in the password, press enter, and see the rsync script work perfectly. So this leads me to believe it's on my end...but I'm just not sure where. -Thanks for any ideas and help |
Hi,
Quote:
Quote:
Quote:
Evo2. |
Things to do:
|
So I am able to log in without a password using the authorized_keys. So I know that it works. Also, I can log in and have the key file run a simple command like "ls" and it works.
The computer is back at my office so I will try again tomorrow and see if I can get any more info. |
Hi,
Quote:
Cheers, Evo2. |
Ok here is the auth.log info:
Jun 25 09:58:37 server sshd[3405]: Accepted publickey for Bill from 192.168.1.102 port 49968 ssh2: RSA 9d:----------hidden-------:c5 Jun 25 09:58:37 server sshd[3405]: pam_unix(sshd:session): session opened for user Bill by (uid=0) Jun 25 09:58:37 server systemd-logind[508]: Removed session 3033. Jun 25 09:58:37 server systemd-logind[508]: New session 3034 of user Bill. Jun 25 09:58:37 server sshd[3405]: pam_unix(sshd:session): session closed for user Bill And here is the error info from Windows: sending incremental file list rsync: writefd_unbuffered failed to write 4092 bytes to socked [sender]: Software caused connection abort <113> rsync: connection unexpectedly closed <9 bytes received so far> [sender] rsync error: error in rsync protocol data stream <code 12> at io.c<600> [sender=3.0.6] |
Well, I just deleted the account on the server and started over and got it working. No idea why it didn't work before.
|
All times are GMT -5. The time now is 02:06 AM. |