Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Wolfgang Meiners
January 11, 2007, 7:00 pm
rate this thread
I have a few problems concerning a ssh-connetion through a proxyserver.
The proxyserver is configuered to accept only ports 80 and 443. Trying
to run sshd on port 443 of the server fails because the proxy does not
accept the protocol. Therefore, i run stunnel on the server. The
interesting part on the serverside stunnel.conf is
accept = 443
connect = 22
while on the client side, i have
; Use it for client mode
client = yes
accept = 8443
connect = my.home.server:443
Now, i can do
ssh -p 8443 localhost
on the client and get connected to the server at home. The server logs
Jan 11 18:15:31 suse10-1 sshd: Accepted publickey for wolfgang
from 127.0.0.1 port 16626 ssh2
Obviously, in the view of sshd i connect from localhost. This is a
consequence of using stunnel. Is there any security risk because of this?
The second point: This connection does not use the proxyserver. It only
works, if i can use port 443 on the client. This will not be possible in
future and i only can connect over a proxyserver. Therefore, i added the
following lines to my
ProxyCommand ~/bin/proxytunnel -e -p 192.168.0.3:80 \
-d my.home.server:443 \
-H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
This fails, and in the logfile i find the line
Jan 11 18:06:09 suse10-1 sshd: Bad protocol version identification
'GET / HTTP/1.1' from 127.0.0.1
The program proxytunnel is
localhost:~ wolfgang$ ~/bin/proxytunnel -version
Copyright 2001-2006 Proxytunnel Project
Does anybody know, what is going wrong there?
Thank you for any help
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum