davidolrik / sublime-rsync-ssh

Keep remote directories in sync with local projects.
75 stars 33 forks source link

Aborting! - rsync ssh is not configured! #22

Closed mattdeclaire closed 9 years ago

mattdeclaire commented 9 years ago

I've getting this error when trying to sync the whole project (⇧⌘F12): [rsync-ssh] Aborting! - rsync ssh is not configured!

site.sublime-project

{
    "folders": [
        {
            "follow_symlinks": true,
            "path": "."
        }
    ],
    "settings": {
        "rsync_ssh": {
            "excludes": [
                ".git*",
            ],
            "options": [
                "--delete"
            ],
            "remotes": {
                "site": [
                    {
                        "enabled": 1,
                        "excludes": [],
                        "options": [],
                        "remote_host": "example.com",
                        "remote_path": "/path/to/remote",
                        "remote_port": 22,
                        "remote_post_command": "",
                        "remote_pre_command": "",
                        "remote_user": "matt"
                    }
                ]
            },
            "sync_on_save": true
        }
    }
}

(I've anonymized the project.)

mattdeclaire commented 9 years ago

I wasn't opening my project correctly. I was opening the directory from the command line. subl /path/to/code. I instead did, Project -> Open Project, and it worked. The script wasn't getting project settings here.