Skip to Content.
Sympa Menu

phys-npps-members-l - [[Phys-npps-members-l] ] Instructions for Offsite Access to Ollama Server on npps0

phys-npps-members-l AT lists.bnl.gov

Subject: ALL NPPS Members

List archive

Chronological Thread  
  • From: "Ye, Shuwei" <yesw AT bnl.gov>
  • To: Torre Wenaus <wenaus AT gmail.com>
  • Cc: NPPS members <phys-npps-members-l AT lists.bnl.gov>
  • Subject: [[Phys-npps-members-l] ] Instructions for Offsite Access to Ollama Server on npps0
  • Date: Wed, 11 Mar 2026 15:11:08 +0000

Dear Torre,

You can find the detailed instructions for offsite access to the Ollama server on our group machine npps0 in the following document:
https://docs.google.com/document/d/1eIixG_AIpc9-dgpMns5nTf2ocgQ4nHHPtd8JJSkaJt4/edit?tab=t.0#heading=h.j98hvgbbyt7w
For example, to use the model qwen3.5:35b via claude CLI on your laptop, follow these steps:
  1. Establish an SSH tunnel to forward the local port 1080 to the remote Ollama server:
    Code
    ssh -f -N -L 1080:130.199.21.114:11434 ssh.bnl.gov
  2. Set the required environment variables:
    Code
    export ANTHROPIC_AUTH_TOKEN=ollama export ANTHROPIC_API_KEY="" export ANTHROPIC_BASE_URL=http://localhost:1080
  3. Launch Claude with the specified model:
    Code
    claude --model qwen3.5:35b
Please let me know if you encounter any issues or need further assistance.
Best regards,

--Shuwei







  • [[Phys-npps-members-l] ] Instructions for Offsite Access to Ollama Server on npps0, Ye, Shuwei, 03/11/2026

Archive powered by MHonArc 2.6.24.

Top of Page