The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Using CVSUP through SSH Tunnel
Author: el_kab0ng 
Date:   08-11-05 14:22

Ok.. so based on my limited understanding of port forwarding using SSH, I'm attempting to cvsup a server that doesn't have internet access (unless through a proxy) through a tunnel created on a server that does.

I'm not 100% this will work, so stop me if you've already tried this:

edge server with internet access:

ssh -N -L 5999:localhost:5999 cvsup8.FreeBSD.org

FreeBSD server without has his supfile CVS host pointed to the edge server.

The problem I have is when I issue the ssh -N -L 5999:localhost:5999 cvsup8.FreeBSD.org command on the edge box, it's prompting me for a password. A password to WHAT? If the localhost, using what account? root obviously doesn't work.

Maybe someone with a better understanding of ssh port forwarding can assist me.

Reply To This Message
 
 Re: Using CVSUP through SSH Tunnel
Author: Dan 
Date:   08-11-05 14:45

ssh -N -L 5999:localhost:5999 cvsup8.FreeBSD.org command

That tells me that you're trying to ssh to cvsup8.FreeBSD.org, so it's asking you for the password for cvsup8.FreeBSD.org....

Port forwarding via ssh assumes you have a login on the box you're trying to ssh to....

--
Webmaster

Reply To This Message
 
 Re: Using CVSUP through SSH Tunnel
Author: el_kab0ng 
Date:   08-11-05 15:00

Makes sense.

Once again right after I posted I found a solution that works:

http://networking.ringofsaturn.com/Unix/cvsup-through-firewall.php

Basically the servers I THOUGHT had access out over 5999 did not. When I redirected the port forwarding to a server that did, it works fine.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org