phys-npps-members-l AT lists.bnl.gov
Subject: ALL NPPS Members
List archive
[[Phys-npps-members-l] ] Instructions for Offsite Access to Ollama Server on npps0
- 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:
For example, to use the model
qwen3.5:35b via
claude CLI on your laptop, follow these steps:-
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 -
Set the required environment variables:Code
export ANTHROPIC_AUTH_TOKEN=ollama export ANTHROPIC_API_KEY="" export ANTHROPIC_BASE_URL=http://localhost:1080 -
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.