dingjie / atom-sync

Atom package to sync files bidirectionally between remote host and local over ssh+rsync
MIT License
59 stars 32 forks source link

A complete how to configure step to step #32

Open shawe opened 8 years ago

shawe commented 8 years ago

I think that I've correctly configured, because before try this plugin I was using Remote Sync in the same way you recommend to use your plugin, but your plugin don't want work. Always say me: "SSH connection failed, please review your config file."

My key is added and working good using "ssh localhost" without asking password, and using Remote Sync.

katsar0v commented 8 years ago

The readme is quite bad actually, as I cannot find the ssh config which the addon uses, though my git ssh config is ok (under windows)

shawe commented 8 years ago

Some help for Linux users with the lack of config on it.

My .sync-config.cson on project: remote: host: "locahost-project1" path: "/my/desired/folder" ...

My ~/.ssh/config: Host localhost-project1 HostName localhost Port 22 User USERNAME IdentityFile /home/USERNAME/.ssh/id_rsa

With this changes, now I can sync correctly on Linux. Thanks for this great plugin.

If others Linux users can try it, maybe your README.md can have subsections by OS config to work well.

EDIT: Sorry, is not working, seems to sync, but is not reading the remote path. I must re-edit this comment.