hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

DumpZ
i was wondering how i can use a socks proxy when im ssh. are there apps for or somthing?
bonarez
corkscrew
DumpZ
thats for http proxies not for socks
bonarez
oops > big difference (and in this case very big difference)

goto-san-connect-1.85

there are some ways described in the links on this page
DumpZ
bit that for creating a socks server i just ned a SOCKS client for use in ssh shell
bonarez
it doesn't create a socks server, it is merely a workaround.
openssh used to support socks servers but discontinued that support some time ago.
connect.c is meant to be a replacement of the proxy command within openssh

it is not the easiest way, but it's the only one I know of.. smile.gif
Mouse
you can use sockscap on windows to connect to ssh

putty do have proxy support.

UFcen2000
I am running FC3 with newes SSH version (can't remember of the top of my head).. but you can specify a proxy server in your ssh_config file (either /etc/ssh/ssh_config or ~/.ssh/ssh_config for a specific user)

Here's what I put..

Host *
ProxyCommand /usr/local/bin/sconnect -4 -S localhost:<proxyPort>%h %p

So.. everytime you try to connect to an ssh server, it will alway try to run 'connect' to to your local socks server at port <proxyPort> using the parameters passed from your ssh commandline.

Likewise.. you can use a program like socat to redirect your ssh tunnel to a proxy on your network like this:

Host *
ProxyCommand socat STDIO SOCKS4A:<proxysvrIP>:%h:%p,socksport=<proxyPort>

Is your proxy local to your machine or your network?
dw-chow
what about using putty? or doing an ssh again inside of another shell?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.