Compare commits

...
2 Commits
Author SHA1 Message Date
foley 58206eb384 auto start python env 2026-09-24 23:05:01 +00:00
foley 7cc99fb75e sshfs for the win 2026-09-24 23:00:56 +00:00
+17
View File
@@ -61,3 +61,20 @@ Credit: Daníel Bjartur Guðmundsson, transcribed by Joseph T. Foley
```eval $(ssh-agent)``` ```eval $(ssh-agent)```
1. Now add your key 1. Now add your key
```ssh-add``` ```ssh-add```
## I'd like to access my pi's files directly on my computer.
In linux, you can use sshfs: https://github.com/libfuse/sshfs
1. Install sshfs
```sudo apt install sshfs```
1. Make a place to mount the files on the pi
```mkdir username-rover```
1. Now we mount the pi's filesystem using sshfs
```sshfs username@host-or-ip /home/username ~/username-rover```
## How do I get the python virtual environment to start each time
1. Edit your `.bashrc` to have this at the end:
```
if [ -f ~/env/bin/activate ]; then
source ~/env/bin/activate
fi
```