remote disk over ssh


http://www.nikhef.nl/~janjust/CifsOverSSH/Howto_Loopback.html
WindowsXP-KB884020-x86-cht.exe, non 127.0.0.1 loopback patch
--
ssh -Llocal_loopback:139:remote_netbios_server:139 remote_ssh_server
--
local_loopback:
ip=10.0.0.1/30
metric=9999
netbios over tcpip=disabled
client for microsoft networks=unchecked
file and printer sharing for microsoft networks=unchecked

local_interface:
netbios over tcpip=disabled
client for microsoft networks=unchecked

ssh auto login without password

#
# run to get /etc/ssh_config, /etc/sshd_config
ssh-host-config

# run to get ~/.ssh/id_rsa.pub
ssh-user-config

# append id_rsa.pub to remote key store
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"

Building a Lightweight Streamlit Client for Local Ollama LLM Interaction

Ollama 提供端點串接服務,可由程式管理及使用本地大語言模型(LLM, Large Language Model)。 以下程式碼展示如何以 Streamlit 套件,建立一個輕量級的網頁介面,供呼叫 本地端安裝的 Ollama 大語言模型。 Ollama 預設的服務...

總網頁瀏覽量