ben-z / Silent-Sync

Automatically takes care of the file syncing while you work.
https://atom.io/packages/silent-sync
Other
8 stars 0 forks source link

255 code #9

Closed Yohaden closed 9 years ago

Yohaden commented 9 years ago

Hi, I'm trying your package to work my code on my computer and test it on my raspberry pi. I usually commit the changes in github then pull them in the raspberry but it's too many manipulations for sometime really few changes. I'm testing my raspberry pi on a console thru ssh so I now for sure that the ssh is working between my two computers but i still have the error 255. here is the silent-sync.json { "enabled": true, "host": "192.168.1.39", // local ip of my pi "port": 22, "username": "pi", // username of my pi "remoteDir": "/home/pi/Blacksad", // i never know if it's /home/pi/folder or /home/folder but i tried both) "exclude": [ "/_img" // one folder i don't want ], "include": [ "/Fritzing" ], "deleteRemoteFiles":true, "rsyncFlags": "avz" }

on the mac when i do ssh pi@192.168.1.39 it's working just fine

any idea ?

ben-z commented 9 years ago

Hello @Yohaden looks like it's that dreaded permission issue again. Take a look here and see if there's anything missing from the systems (~/.ssh/id_rsa.pub on the mac and the corresponding content in ~/.ssh/authorized_keys on the pi). It may be completely irrelevant since the ssh command is working.

Also can you please post the log from the developer console? (command + option + i)

Yohaden commented 9 years ago

Ok my bad, I did the other way (i had authorized_keys on the mac and the is_rsa.pub on the pi. Now it’s working fine. Sorry for the newbie question, and since I’m french i have misunderstood the tutorial.

I’m really happy with atom.io … i just saw that they will release a 1.0 version in june, i hope it will still be a freeware.

Thank you very much for the quick answer Best,

Youenn

Le 31 mai 2015 à 06:56, Ben Zhang notifications@github.com a écrit :

Hello @Yohaden https://github.com/Yohaden looks like it's that dreaded permission issue again. Take a look here https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 and see if there's anything missing from the systems (~/.ssh/id_rsa.pub on the mac and the corresponding content in ~/.ssh/authorized_keys on the pi). It may be completely irrelevant since the ssh command is working.

Also can you please post the log from the developer console? (command + option + i)

— Reply to this email directly or view it on GitHub https://github.com/ben-z/Silent-Sync/issues/9#issuecomment-107128098.

ben-z commented 9 years ago

Glad to know that it's working! If there are any more questions or concerns feel free to open a new issue or contact me directly through Twitter. Thanks for using Silent Sync!

On Sun, May 31, 2015 at 4:19 AM, Youenn Denis notifications@github.com wrote:

Closed #9.

Reply to this email directly or view it on GitHub: https://github.com/ben-z/Silent-Sync/issues/9#event-318103179