Forums: How To Proxify Conncetions In Ssh - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Proxify Conncetions In Ssh what app/ script can do that

#1 User is offline   DumpZ 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 356
  • Joined: 04-December 03

Posted 02 May 2005 - 07:56 PM

i was wondering how i can use a socks proxy when im ssh. are there apps for or somthing?
0

#2 User is offline   bonarez 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 906
  • Joined: 17-March 04

Posted 02 May 2005 - 08:16 PM

corkscrew
Paraskavedeka Triaphoba
0

#3 User is offline   DumpZ 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 356
  • Joined: 04-December 03

Posted 02 May 2005 - 08:31 PM

thats for http proxies not for socks
0

#4 User is offline   bonarez 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 906
  • Joined: 17-March 04

Posted 02 May 2005 - 09:25 PM

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
Paraskavedeka Triaphoba
0

#5 User is offline   DumpZ 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 356
  • Joined: 04-December 03

Posted 02 May 2005 - 10:25 PM

bit that for creating a socks server i just ned a SOCKS client for use in ssh shell
0

#6 User is offline   bonarez 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 906
  • Joined: 17-March 04

Posted 02 May 2005 - 10:55 PM

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.. :)
Paraskavedeka Triaphoba
0

#7 User is offline   Mouse 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 41
  • Joined: 29-July 03

Posted 05 May 2005 - 10:59 PM

you can use sockscap on windows to connect to ssh

putty do have proxy support.
0

#8 User is offline   UFcen2000 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 38
  • Joined: 15-October 04

Posted 17 May 2005 - 06:05 AM

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?
0

#9 User is offline   dw-chow 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 127
  • Joined: 25-March 04

Posted 31 May 2005 - 09:43 AM

what about using putty? or doing an ssh again inside of another shell?
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting