{"action":"created","issue":{"url":"https://api.github.com/repos/dadoonet/fsriver/issues/92","labels_url":"https://api.github.com/repos/dadoonet/fsriver/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/dadoonet/fsriver/issues/92/comments","events_url":"https://api.github.com/repos/dadoonet/fsriver/issues/92/events","html_url":"https://github.com/dadoonet/fsriver/issues/92","id":47134643,"number":92,"title":"indexing via SSH not working for me","user":{"login":"MaxJust","id":5053615,"avatar_url":"https://avatars.githubusercontent.com/u/5053615?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxJust","html_url":"https://github.com/MaxJust","followers_url":"https://api.github.com/users/MaxJust/followers","following_url":"https://api.github.com/users/MaxJust/following{/other_user}","gists_url":"https://api.github.com/users/MaxJust/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxJust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxJust/subscriptions","organizations_url":"https://api.github.com/users/MaxJust/orgs","repos_url":"https://api.github.com/users/MaxJust/repos","events_url":"https://api.github.com/users/MaxJust/events{/privacy}","received_events_url":"https://api.github.com/users/MaxJust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-29T11:02:03Z","updated_at":"2015-02-08T17:43:09Z","closed_at":null,"body":"Hi, I have to create an index by follow command:\r\n#!/bin/sh\r\n\r\nEL_IP=`cat elastic.cfg`\r\n\r\necho \"Результат удаления:\"\r\ncurl -XDELETE \"http://$EL_IP:9200/_river/mysshriver\" && echo\r\n\r\ncurl -XPUT \"http://$EL_IP:9200/_river/mysshriver/_meta\" -d '{\r\n  \"type\": \"fs\",\r\n  \"fs\": {\r\n    \"url\": \"/opt/data/test\",\r\n    \"server\": \"192.168.1.2\",\r\n    \"port\": 2222,\r\n    \"username\": \"river\",\r\n    \"password\": \"secret\",\r\n    \"protocol\": \"ssh\",\r\n    \"update_rate\": \"1m\",\r\n    \"includes\": [ \"*.doc\" , \"*.xls\", \"*.pdf\" ]\r\n  }\r\n}'\r\n\r\nBut after what I have the follow problem:\r\n[2014-10-29 13:55:30,508][WARN ][fr.pilato.elasticsearch.river.fs.river.FsRiver] [Ninja] [fs][mysshriver] Error while indexing content from /opt/data/test\r\n\r\nHere is dubeg / trace mode logs:\r\n[2014-10-29 13:57:30,520][WARN ][fr.pilato.elasticsearch.river.fs.river.FsRiver] [Ninja] [fs][mysshriver] Error while indexing content from /opt/data/test\r\n[2014-10-29 13:57:30,520][DEBUG][fr.pilato.elasticsearch.river.fs.river.FsRiver] [Ninja] [fs][mysshriver] Exception for /opt/data/test is java.lang.RuntimeException: /opt/data/test doesn't exists.\r\n[2014-10-29 13:57:30,520][DEBUG][fr.pilato.elasticsearch.river.fs.river.FsRiver] [Ninja] [fs][mysshriver] Fs river is going to sleep for 1m\r\n\r\nIf I try to connect dircetly (from command line) all fine. connection and folder is fine. \r\n\r\nSource machine (with elsatic) on ubuntu 14.0.4\r\nDest machine (where I have a file) on FreeBSD 10.0\r\n\r\nPlease help.\r\n"},"comment":{"url":"https://api.github.com/repos/dadoonet/fsriver/issues/comments/73421756","html_url":"https://github.com/dadoonet/fsriver/issues/92#issuecomment-73421756","issue_url":"https://api.github.com/repos/dadoonet/fsriver/issues/92","id":73421756,"user":{"login":"rlanore","id":1931678,"avatar_url":"https://avatars.githubusercontent.com/u/1931678?v=3","gravatar_id":"","url":"https://api.github.com/users/rlanore","html_url":"https://github.com/rlanore","followers_url":"https://api.github.com/users/rlanore/followers","following_url":"https://api.github.com/users/rlanore/following{/other_user}","gists_url":"https://api.github.com/users/rlanore/gists{/gist_id}","starred_url":"https://api.github.com/users/rlanore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlanore/subscriptions","organizations_url":"https://api.github.com/users/rlanore/orgs","repos_url":"https://api.github.com/users/rlanore/repos","events_url":"https://api.github.com/users/rlanore/events{/privacy}","received_events_url":"https://api.github.com/users/rlanore/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T17:43:09Z","updated_at":"2015-02-08T17:43:09Z","body":"Same for me ssh not working.\r\n I have installed jar snapshot instead of zip ( that contain dependencies ).\r\nnow i can establish ssh connection"}}