Reverse Proxy for SSH with virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,
 
I need your help on the following configuration. My Reverse Proxy works if I try something like test.de/SSH, but I don't get it to work for ssh.test.de.
(Apache 2.0) for Windows XP, the SSH Server is FreeSSH. Everything installed on the very same machine.
 
Reason for this, I can't get Putty (SSH Client) to work, 'cause it doesn't seem to like the / when resolving test.de/SSH
 
[...]

Listen 80

NameVirtualHost ssh.test.de:80

<virtualhost       ssh.test.de:80>

            Servername      ssh.test.de

            DocumentRoot  c:/internet/web-nonSSL

            <Proxy *>

                        Order deny,allow

                        Deny from all

            </proxy>

                        ProxyPass        http://ssh.test.de                             http://127.0.0.1:22

                        ProxyPassReverse http://ssh.test.de       http://127.0.0.1:22

           

            ErrorLog logs/SSH-error.log

            CustomLog logs/SSH-access.log common

</virtualhost>

 

thx

Jan


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux