notes by alifeeeprofile picturerss

return to notes / blog / website / weeknotes / linktree

here I may post some short, text-only notes, mostly about programming. source code.

tags: all (58), scripting (23), linux (6), jq (5), android (4), bash (4), geojson (4), obsidian (4), github (3), html (3) ............ see all (+88)

guestbook!

show all /
sign book

viewing a single note

opening a remote SQLite file in DBeaver using sshfs#source

2025-10-11 • tags: sqlite, dbeaver, sshfs, ssh, linux • 140 'words', 42 secs @ 200wpm

DBeaver is a database management program. SQLite is a database format which uses a single file (e.g., database.sqlite). You can open .sqlite files in DBeaver, but only on your local computer.

I wanted to open an .sqlite file on a remote server, without downloading it every time. I found out about sshfs ("SSH FileSystem") which mounts a remote filesystem on your local filesystem, so you can pretend the remote .mysql file is a file on your computer.

I set up sshfs like so:

sudo apt install sshfs
sudo mkdir -p /media/alifeee/remotefiles
sudo chown alifeee:alifeee /media/alifeee/remotefiles
sshfs server:/usr/alifeee/ /media/alifeee/remotefiles

Now /media/alifeee/remotefiles appears in my file browser just like any other drive I would plug into my computer. Neat. Who needs FTP… ;]

back to top back to main page