View previous topic :: View next topic |
Author |
Message |
Arkham Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Fri Jan 14, 2005 4:01 pm Post subject: SSH via PROXY (console) |
|
|
Hi folks
I set up my home-box with sshd... Also I managed to get a "computer" working here at work (P II 233 Mhz, 3x32Mb PC-100) wich obvioulsy runs gentoo (someday I´ll tell you the hell the instalation was because...)
I´m behind a proxy =/ . As you can imagine, the gentoo@work.box is not running X, and I would like to SSH my home-box
I´ve read that you can do that setting the proxy settings in putty, but putty only works in X..
Any ideas how to do that via Console??
Any program I´m missing?
Thx
? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Fri Jan 14, 2005 8:40 pm Post subject: |
|
|
You didn't mention the type of your proxy - HTTP or Socks?
If it's Socks, you could just emerge the dante package, sonfigure /etc/socks.conf and run a socksified ssh via Code: | socksify ssh user@home.box | instead of plain If it's a HTTP proxy, you'll need to set up a HTTP tunnel server on your home box and a HTTP tunnel client on your work box - don't know which packages are provided by portage for that, try searching around http://packages.gentoo.org ![Smile :)](images/smiles/icon_smile.gif) _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scap1784 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 25 Dec 2002 Posts: 225
|
Posted: Fri Mar 25, 2005 7:23 am Post subject: |
|
|
Here is what you need to do...
connect.c can be found at http://www.taiyo.co.jp/~gotoh/ssh/connect.html
taken from my wiki howto
Code: |
We will be using connect.c to allow our ssh client to tunnel through the proxy.
1. Download the source from the location noted above
2. With the connect.c file in the same directory make the connect program with the following command. make connect
3. Move ./connect to /usr/bin/
4. Edit or create ~/.ssh/config so that it looks like the following
Host "Domain Name or IP of the server"
ProxyCmmand connect -H "proxyAddress:port" %h %p
* For more information on further options please see the connect.c website listed above.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|