ssfs rev 18
ssfs: small improvment to setup
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 11 23:47:38 2011 +0200 (2011-06-11) |
parents | 701c4931cf81 |
children | ccd752daba34 |
files | README ssfs |
line diff
1.1 --- a/README Sat Jun 11 23:34:20 2011 +0200 1.2 +++ b/README Sat Jun 11 23:47:38 2011 +0200 1.3 @@ -48,7 +48,7 @@ 1.4 * On the client side: ssfs-box setup or from the cmdline: 1.5 $ ssfs setup --login=demo --host="server name or ip" 1.6 * On client you can start ssfs on user login via the WM 1.7 - autostart script and this call to ssfs: ssfs sync & 1.8 + autostart script and or the command $ ssfs sync 1.9 1.10 1.11 Installation
2.1 --- a/ssfs Sat Jun 11 23:34:20 2011 +0200 2.2 +++ b/ssfs Sat Jun 11 23:47:38 2011 +0200 2.3 @@ -99,7 +99,8 @@ 2.4 # Upload key to the server. 2.5 gettext "Sending RSA secure key to:"; echo " $host" 2.6 cat $HOME/.ssh/id_rsa.pub | \ 2.7 - ssh $login@$host 'cat - >> ~/.ssh/authorized_keys' ;; 2.8 + ssh $login@$host 'cat - >> ~/.ssh/authorized_keys' || exit 1 2.9 + gettext "Client is setup you can now sync"; echo ;; 2.10 sync) 2.11 # Sync can be called at session startup or from cmdline to retrive 2.12 # files from the server.