From 1430c2b1f97c0cd0b26d2092b7d0b0bd59cd0d5d Mon Sep 17 00:00:00 2001 From: Jorge Trujillo Date: Tue, 10 May 2016 03:06:53 -0500 Subject: [PATCH] Add password based login alternative to README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bb7655a..992c7c8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ atom-sync is an Atom package to sync files bidirectionally between remote host a * Watch water flows. ### Notice ### -* Password based login is not supported—at least yet, you have to [assign your key file](https://www.linode.com/docs/security/use-public-key-authentication-with-ssh) and better host name in .ssh/config in advanced. Try to [Simplify Your Life With an SSH Config File](http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/). +* You have to [assign your key file](https://www.linode.com/docs/security/use-public-key-authentication-with-ssh) and better host name in .ssh/config in advanced. Try to [Simplify Your Life With an SSH Config File](http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/). +* For password based login you must install [sshpass](https://gist.github.com/arunoda/7790979) and set the `shell` property to `/usr/bin/sshpass -p password ssh -o StrictHostKeyChecking=no -l username ` in the configuration file. ### Config File (and Tutorial) ### > .sync-config.cson @@ -54,6 +55,8 @@ option: ] flags: 'avzpur' # Advanced option: rsync flags shell: 'ssh' + # or + #shell: '/usr/bin/sshpass -p password ssh -o StrictHostKeyChecking=no -l username' trigger: # Triggers fire after uploading file successfully # which STARTS with following patterns