Comment on Frustratingly bad at self hosting. Can someone help me access LLMs on my rig from my phone

<- View Parent
tal@lemmy.today ⁨19⁩ ⁨hours⁩ ago

ssh -L 0.0.0.0:3000:YOURPUBLICIP:3000

If you can SSH to the LLM machine, I’d probably recommend ssh -L127.0.0.1:11434:127.0.0.1:11434 <remote hostname>. If for some reason you don’t have or inadvertently bring down a firewall on your portable device, you don’t want to be punching a tunnel from whatever can talk to your portable device to the LLM machine.

(Using 11434 instead of 3000, as it looks like that’s ollama’s port.)

source
Sort:hotnewtop