Skip to content

2025#

Using Pageant with VSCode Remote SSH

While Putty and Pageant are widely used tools for SSH connections, you can also integrate Pageant with VSCode to establish remote SSH connections without administrative privileges. While the default ssh-agent service offers similar functionality, it's disabled by default and requires administrative access to start if disabled, making Pageant a more flexible alternative. Here's how you can set it up:

Installing Ollama without root

Inspired by the official guide, here is my method for installing (or updating) Ollama without root access.

mkdir -p ~/src
cd ~/src
curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz
mkdir -p ~/opt/ollama
tar -C ~/opt/ollama -xzf ollama-linux-amd64.tgz

Add Ollama to $PATH:

echo 'export PATH=$PATH:~/opt/ollama' >> ~/.bashrc
. ~/.bashrc

Then you can run ollama in your terminal:

nohup ollama serve &

ollama -v
ollama list

# Pull the embeddings model for AnythingLLM RAG
ollama pull nomic-embed-text

# Run the smallest deepseek model
ollama run deepseek-r1:5b

To stop the Ollama server:

killall ollama

# or
killall -u $USER ollama