Rabu, 26 Desember 2018

How to perform yum install trough ssh tunnel

  Tidak ada komentar
Run all  following commands on the computer with restricted access.

in yum.conf set the proxy as follows
proxy=socks5h://localhost:1080
from a terminal type
ssh -D 1080 [email protected]_SERVER_WITH_FULL_WEB_ACCESS
press enter and type your password.


now, in a separate terminal (not the ssh one) type

yum update
now you can perform yum install

If you failed with scenario above you can use the following step

Run all following commands on the computer with restricted access.

in yum.conf set the proxy as follows
proxy=http://localhost:1080
from a terminal type
ssh -R 1080:ssh.server:1080 [email protected].server
press enter and type your password.


now, in a separate terminal (not the ssh one) type

yum update
now you can perform yum install

Tidak ada komentar :

Posting Komentar