| # Problem | |
| I need to get subversion access to a remote machine to which I cannot connect directly (firewall issues). | |
| My Mac <=> "Linode3" (Ubuntu 10.04.4LTS) <=> "Triumph" (Fedora Core 5) | |
| Local <=> Proxy <=> Remote | |
| # Setting up the tunnel: | |
| ssh -L 1234:svnserver:4567 sportcentric | |
| Linux linode3 3.4.2-linode44 #1 SMP Tue Jun 12 15:04:46 EDT 2012 i686 GNU/Linux | |
| mmower@linode3:~$ channel 3: open failed: administratively prohibited: open failed | |
| # Local subversion configuration (~/.subversion/config) | |
| [tunnels] | |
| tssh = ssh -p 1234 -vvvv | |
| # Using the tunnel | |
| Shaddam:SportCentric matt$ svn co svn+tssh://localhost/usr/local/svn/repos/fig/trunk | |
| OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 | |
| debug1: Reading configuration data /Volumes/Corrino/matt/.ssh/config | |
| debug1: Reading configuration data /etc/ssh_config | |
| debug1: /etc/ssh_config line 20: Applying options for * | |
| debug2: ssh_connect: needpriv 0 | |
| debug1: Connecting to localhost [::1] port 1234. | |
| debug1: Connection established. | |
| debug3: Incorrect RSA1 identifier | |
| debug3: Could not load "/Volumes/Corrino/matt/.ssh/id_rsa" as a RSA1 public key | |
| debug1: identity file /Volumes/Corrino/matt/.ssh/id_rsa type 1 | |
| debug1: identity file /Volumes/Corrino/matt/.ssh/id_rsa-cert type -1 | |
| debug1: identity file /Volumes/Corrino/matt/.ssh/id_dsa type -1 | |
| debug1: identity file /Volumes/Corrino/matt/.ssh/id_dsa-cert type -1 | |
| ssh_exchange_identification: Connection closed by remote host | |
| svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. | |
| svn: Network connection closed unexpectedly | |
| Shaddam:SportCentric matt$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment