Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm facing the following problem: I need to access a svn depot (https) from a machine which block port 443 output. I have a normal user shell access. I can successfully do a ssh tunnel like that:

ssh -L 1234:mysvnhost.blabla.com:443 user@mymachinewhichhasaccesstoport443

Unfortunately the destination machine (mysvnhost.blabla.com) uses virtualhost. I guess that in order to work I need to add something like that

mysvnhost.blabla.com 127.0.0.1 

in /etc/hosts of the machine which block port 443 but I don't have a root access to this machine.

Thanks for any help

share|improve this question
    
I have asked the sysadmin to add the entry in /etc/hosts and it's working fine. Anyway I'm still interested in a solution which doesn't involve a root user. –  Yann Sagon Feb 17 '12 at 10:22
add comment

1 Answer

A solution could be to use a local ssl proxy and translate localhost/127.0.0.1 by mysvnhost.blabla.com, some java proxies can handle SSL and hostname translation, else you can code it by yourself with socat

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.