lnproxy on Nostr: In case you want to try running ord (https://github.com/casey/ord) using a remote ...
In case you want to try running ord (https://github.com/casey/ord) using a remote node:
$ cat > ~/bin/ord-env << 'eof'
#!/usr/local/plan9/bin/rc -e
ssh -N -L 8332:127.0.0.1:8332 bitcoind@node &
port_forward_pid=$apid
sshfs -f bitcoind@node:/var/bitcoin $home/.bitcoin &
sshfs_pid=$apid
bash --rcfile <{cat $home/.bashrc; echo 'PS1="(bitcoin) $PS1"'}
kill $port_forward_pid
kill $sshfs_pid
eof
$ ord-env
(bitcoin) $ ord
$ cat > ~/bin/ord-env << 'eof'
#!/usr/local/plan9/bin/rc -e
ssh -N -L 8332:127.0.0.1:8332 bitcoind@node &
port_forward_pid=$apid
sshfs -f bitcoind@node:/var/bitcoin $home/.bitcoin &
sshfs_pid=$apid
bash --rcfile <{cat $home/.bashrc; echo 'PS1="(bitcoin) $PS1"'}
kill $port_forward_pid
kill $sshfs_pid
eof
$ ord-env
(bitcoin) $ ord