diff options
author | 2015-11-30 16:11:26 +0000 | |
---|---|---|
committer | 2015-11-30 16:11:26 +0000 | |
commit | 7184b83a2caf68087645faf0f11b9c538b0a34f9 (patch) | |
tree | 77f96a554bdb09f4146284930a3e3fb466406fb5 /doc | |
parent | 16e089998e10f8a90e0818543449650f18239d1b (diff) |
Added a comment: Got Nixos server configured as a ssh remote (FYI)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_e202a6dd2803f733bd30ec8b6ddbe7bf._comment | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_e202a6dd2803f733bd30ec8b6ddbe7bf._comment b/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_e202a6dd2803f733bd30ec8b6ddbe7bf._comment new file mode 100644 index 000000000..412a370a5 --- /dev/null +++ b/doc/forum/Git_annex_assistant_can__39__t_find_rsync_nor_git-annex_on_server/comment_3_e202a6dd2803f733bd30ec8b6ddbe7bf._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963" + nickname="pweemeeuw" + subject="Got Nixos server configured as a ssh remote (FYI)" + date="2015-11-30T16:11:26Z" + content=""" +It needed some plumbing, this is what I did: + +_~/.ssh/rc_: + + PATH=$HOME/bin:$HOME/.nix-profile/bin:/run/current-system/sw/bin + +Since _which_ is an alias (and hence still doesn't work for 'ssh foo which rsync'), I added a shell script _$HOME/bin/which_: + + #!/run/current-system/sw/bin/bash + type -P $@ + +Verified to work (syncs both ways) with a cloned repository on arch linux. +"""]] |