Yum through SSH.
Hello.
I use CentOS 7 amd64 and I like tunnel Yum through an SSH connection. I use "ssh -Cav root@IP -D 127.0.0.1:9051" and like my Yum use SSH connection. Any idea? Thank you. |
just a reminder it is bad practise to login in as root. The basic syntax for dynamic port forwarding is:
ssh -D 9051 user@server You need to change yum.conf to use the proxy proxy=socks5h://localhost:9051 |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:26 AM. |