"linux使用ssh代理"
Published on Aug. 22, 2023, 12:07 p.m.
创建代理通道
sudo ssh -qTfnN -D 777 root@ip
apt使用代理
- $ sudo vim /etc/apt/apt.conf #
Acquire::http::Proxy “http://127.0.0.1:777";
2. apt-get update; apt-get upgrade .. 等等都會透過 Proxy
Published on Aug. 22, 2023, 12:07 p.m.
创建代理通道
sudo ssh -qTfnN -D 777 root@ip
apt使用代理
Acquire::http::Proxy “http://127.0.0.1:777";
2. apt-get update; apt-get upgrade .. 等等都會透過 Proxy