Added a comment: just FYI
This commit is contained in:
parent
8eff96c736
commit
300733bf3e
1 changed files with 18 additions and 0 deletions
|
@ -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 $@
|
||||||
|
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue