diff options
-rw-r--r-- | doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_f1fca59a8a61e9551585fb3dec9f854b._comment | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_f1fca59a8a61e9551585fb3dec9f854b._comment b/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_f1fca59a8a61e9551585fb3dec9f854b._comment new file mode 100644 index 000000000..4310eb1b9 --- /dev/null +++ b/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_f1fca59a8a61e9551585fb3dec9f854b._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963" + nickname="pweemeeuw" + subject="just FYI" + date="2015-11-30T08:05:35Z" + content=""" +As I tried to set this up for myself, this what I did to get it working with a nixos ssh server: + +I put the following in _~/.ssh/rc_: + + PATH=$HOME/bin:$HOME/.nix-profile/bin:/run/current-system/sw/bin + +As which is an alias (and hence still doesn't work for 'ssh foo which rsync'), I added a shell script named _which_: + + #!/run/current-system/sw/bin/bash + type -P $@ + +"""]] |