ssh over proxy

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

im new here and i have the following problem with my ssh client.

I use SuSE 8.2 and ssh version OpenSSH_3.5p1.

I want to connect a computer into the www from my local host
( But i use a proxy server Into putty
under M$ i can use proxy preferences and i can say please use proxy over port 1080 use proxy type socks 5.

How can i do the same with my ssh client under linux?

best regards

Re: ssh over proxy

Quoted text here. Click to load it

The easiest way is probably using ssh's ProxyCommand option with a
suitable command, eg "connect" [1].

Download and install connect, then add this to you ssh config (either
$HOME/.ssh/config or the global ssh_config):

Host *
    ProxyCommand connect -5 -S %h %p

Alternatively, you could use a tool like "socksify" which is part of
the dante [2] package.  There's a few more traps with this (eg since it
uses LD_PRELOAD if your ssh is setuid it won't work).


[2] /

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Re: ssh over proxy

Darren Tucker schrieb:

Quoted text here. Click to load it

cool it works very fine.

This was the first time that i get a really help by an posting into the

Short, exactly an good ...

many, many thx

Site Timeline