Alternatives to SSH for tunnelling connections
I’m currently using COPSSH to tunnel various connections to a remote Windows box and connecting using plink.exe from the PUTTY suite. After connecting directly, I’ve come to realise that the quality of connection using this setup is appalling. Tunnelled connections appear to get slower and slower. Can anyone recommend secure tunnel software that is more performant than my current setup? I’ve used both stunnel, and the putty family of tools (plink, putty), and I’ve only [...]
Continue Reading »allow ssh connection from remote host
I’ve just started playing around with SSH tunnels today, but I’m stick at a bit of a silly point (I think)… Probably just missing something obvious but here goes: I’ve got two linux servers and a single windows client (server1, server2, client). I’ve set up server1 to create a reverse ssh tunnel to server2, like so: ssh -nNfR 8022:localhost:22 user@server1 After which I can successfully get a shell on on server1 using: ssh -p 8022 [...]
Continue Reading »Debian: Tunnel incoming connections (SSH)
Hey! Is it possible to use a SSH connection to tunnel incoming traffic to server1 to server2, so server1 acts like a proxy? Or is there a better way to do it? Cross-server connection should be encrypted. yes you can do add this to ~/.ssh/config on the source machine. Host host-name Hostname host-name-or-ip LocalForward 5900 destination:5900 Then ssh -v host-name Now when you connect to port 5900 on the source machine you are connected to [...]
Continue Reading »How can I copy from a server on the internet to a server behind a router doing NAT?
I have both a VPS and a home server. I want to use the server in my home as a backup for the VPS. The VPS needs to be able to initiate the backup process and send the backups over the internets, past a router doing NAT to the backup machine. I do not have control over the router, so my backup machine has no public IP address. Is there a way for me to [...]
Continue Reading »NoMachine over SSH/Netcat proxy
I am tunneling an nc connection to my target host (example.com) over an ssh connection to my gateway. Below is my .ssh/config setup for this connection: Host target Hostname example.com HostKeyAlias target ProxyCommand ssh me@gateway /bin/nc example.com 22 This is great and allows me to ssh to the target host in one step. What I would like to do is be able to tunnel an NX or VNC session over this connection. Anyone know how [...]
Continue Reading »protecting server tools with web interface (phpMyAdmin,APC monitor …)
We have web server (debian lenny, standard LAMP). We have few tools useful for server monitoring/administration with web interface (phpMyAdmin,APC opcache monitor,serverstats,phpinfo…) and we would like limit access to them only for server admins. So I created apache virtual which has allowed access from localhost only. Server admins then make SSH tunnel to server. Virtual host: <Directory /var/www/localhost/www/> order deny,allow deny from all allow from 127.0.0.1 </Directory><VirtualHost 127.0.0.1:80> ServerName localhost DocumentRoot /var/www/localhost/www DirectoryIndex index.html index.htm [...]
Continue Reading »Ssh autorestart remote tunnel reliability problems
I use a ssh tunnel to get some data from a distant server on an local newtork equipment with this : su -s /bin/bash -c “autossh -f -M 3333 -C -N -R 0.0.0.0:2222:y.y.y.y:1111 user@x.x.x.x-l k1001 -i /home/dbuser/.ssh/id_dsa” dbuser I works sometimes, sometimes not. It is not very reliable. Does someone have a better solution ? Is it some paramaters of the sshd to works better ? # Package generated configuration file # See the sshd(8) [...]
Continue Reading »Sending traffic across two lan, trough port 80 and revese SSH tunneling. How to setup server
Im want to send traffic over to Host B on port 3000, i have access to all nodes in this drawing, the only port that is open between these two lans is port 80 from Linux Box B to Linux box A. so i do a “ssh -R 1206:192.168.1.10:22 disp@10.10.10.10 -p 80“, and ssh back trough the tunnel with “ssh -L 3000:10.10.10.10:3000 disp@localhost -1206” if im correct this now listens to port 3000 on the [...]
Continue Reading »SSH tunneling and port forwarding
I ask you to help me establish tunnels to meet the following needs: There is server LocalTest, on which I am root, so I can do anything (Debian SSH). This server is enabled to access (IP filtering is present on the other party) port 443 a server which we can call WebserviceServer. I want to enable person who can not open SSH to localtest to reach WebserviceServer:443. So I need to open a server port [...]
Continue Reading »SSH over HTTP(S)
I have an apache server at work.com that only allows incoming HTTP and HTTPS requests over the usual port 80 and 443. These are the only ports that are open on the network. I would like to be able to SSH in to the server when I am at home, but IT refuses to open port 22. Is there a way to configure apache to accept SSH traffic at the address ssh.work.com and forward it [...]
Continue Reading »


