Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ssh over proxy
January 7, 2004, 11:14 am
rate this thread
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
(192.168.0.2). But i use a proxy server 192.168.0.1:1080. Into putty
under M$ i can use proxy preferences and i can say please use proxy
192.168.0.1 over port 1080 use proxy type socks 5.
How can i do the same with my ssh client under linux?
Re: ssh over proxy
The easiest way is probably using ssh's ProxyCommand option with a
suitable command, eg "connect" .
Download and install connect, then add this to you ssh config (either
$HOME/.ssh/config or the global ssh_config):
ProxyCommand connect -5 -S 192.168.0.1:1080 %h %p
Alternatively, you could use a tool like "socksify" which is part of
the dante  package. There's a few more traps with this (eg since it
uses LD_PRELOAD if your ssh is setuid it won't work).
 http://www.inet.no/dante /
Darren Tucker (dtucker at zip.com.au)
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.
- » Silient install options for SSH LTD WinClients? Flags or options when using SMS?
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum