I am ssh'ing into a server (SLES 10 sp2) that does not have access to the internet. I need to run updates and install new software on this server, preferably using Yast.
So my idea was:
- Create a proxy using ssh to a box that has access to the outside.
- Setup Yast to use this proxy.
The ssh command I run on the isolated server looks as follows:
ssh -D 9999 username@ip-of-box-with-internet-access
In Yast I go to Network Service > Proxy and enter the following as the HTTP Proxy URL:
http://localhost:9999
When I go to Test proxy settings it fails.
I suspect that Yast does not know it is a SOCKS5 proxy.
Could anyone tell me how I can setup Yast to use a proxy created with ssh?
Any help would be appreciated!