On Fri, 14 Aug 2009, Daniel Fishman wrote:
Hello everybody, My machine (A) is located on a lan behind a firewall, and the only way outside is ssh. I have another machine (B) outside the lan. B has ssh server, and I can ssh from A to B. In order to be able to perform software updates with yum I set up ssl tunnel from A to B using dynamic port forwarding, that is: I ssh from A to B, and ssh client on A serves as SOCKS proxy. In addition, SOCKS client wrapper is installed on A (I use dante's socksify). The mentioned SOCKS proxy works properly, for example I can use the web. But when I try to use yum (running 'socksify yum update', for example), it fails to ran properly. I see (using ssh's escape characters) that ssh forwards yum's connections, but yum tells that either network is unreachable or that connection timed out. That is what I get from yum: -------------------------------------------------------------------- [root@centos .ssh]# socksify yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.plusline.de * updates: mirror.netcologne.de * addons: ftp.plusline.de * extras: mirror.silyus.net http://ftp.plusline.de/centos/5.3/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (114, 'Operation already in progress')>
I bet this is a behavior b/c of how the tunneling works and how fastestmirror works.
disable fastestmirror and try it again. -sv
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum