This commit is contained in:
pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963 2015-11-30 08:16:27 +00:00 committed by admin
parent 300733bf3e
commit 712735505e

View file

@ -1,18 +0,0 @@
[[!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 $@
"""]]