An SSH tunnel provides an encrypted channel based on the SSH protocol.

learn more… | top users | synonyms

4
votes
1answer
1k views

Directx application using wine over ssh -x

I'm trying to run a Windows app (Artemis video game - server mode) on my archlinux server. As it is an windows application I have to run it using Wine. As I'd like to be able to launch the server ...
3
votes
1answer
195 views

SSH Tunnel with autossh

I can't seem to find a close enough example but here it goes. I'm trying to in the end setup rsync from one server to another through an ssh tunnel. Local (my machine) will run the rsync to pull ...
3
votes
1answer
103 views

What is the best way to create remote tunnel?

I have 3 Linux servers: 10.0.0.0/24 - (10.0.0.10) Linux server inside my LAN. 20.0.0.0/24 - (20.0.0.10) Linux server with HTTP Apache server 50.50.50.50/32 - Server on Amazon AWS which see ...
3
votes
1answer
282 views

limiting a user's TCP transfer quota

I've been researching how to limit a user's monthly TCP download plus upload quotas. The total transfer limit is 1 TB / month . There are 50 users, so I wish to limit each user to a maximum of 20 GB / ...
2
votes
1answer
84 views

In bash, how can I use a here document but then open stdin?

My example is that I'm tunneling through a server and want to create a command to type in a password but leave stdin open once that's done. For example I need to sudo to a different user everytime I ...
2
votes
1answer
1k views

Why SSH login works in shell but fails in all third parties via ssh tunnel?

I'm using ssh to log in (prompt password first time) on a remote server. In shell, using this command: ssh root@myserver.com works well! But all other db software applications that I tested (...
2
votes
1answer
2k views

ssh tunneling: connection closed by foreign host

I'm trying to create a scenario to test a simple ssh tunneling, just for using a simple telnet. I have two hosts: ubuntu and suse. Both of them have the other hostname on /etc/hosts file for address ...
2
votes
1answer
351 views

Port forwarding for VPN connection

I'm using a public wifi hotspot. Usually when I connect to these, I immediately connect to my college VPN. On this hotspot, only browsing works (no program other than a browser seems to be able to ...
2
votes
1answer
57 views

Programatically / dynamically adjust SSH session port forwards

I have a workflow where I am trying to do the following: For a given existing SSH session, access the remote machinne and perform a process from which a port is returned (e.g. a remote daemon has ...
3
votes
0answers
163 views

Why can't I execute an SSH command on a remote host?

I'm accessing a remote host via a jumpbox. I can easily access the remote host if I access it via an ssh shell: ssh remoteHost Last login: Tue Feb 16 12:56:26 2016 from xx.xxx.xx.xx remoteHost:user:...
2
votes
0answers
43 views

Schedule on boot persistent reverse SSH tunnel on Mac OSX

In attempts to run a self sustaining reverse ssh tunnel I have tried installing the 'autossh' package with brew. Autossh works alone when ran through the user's prompt, but not with launchctl/launchd. ...
2
votes
0answers
48 views

SSH - Unable to access local forward from another host

I have a VPS with 2 public IPs (assume 1.1.1.1 and 1.1.1.2) I am trying to do a local tunnel to my router on my VPS bound to the second IP, and then access it via another machine. I do the following -...
2
votes
0answers
204 views

named pipe proxy over SSH

I am used to forwarding a remote service port on localhost using ssh like: ssh -L 2181:localhost:2182 user@server (forward remote host port 2182 to local port 2181) now, from the machine I ssh to, I ...
2
votes
0answers
245 views

Tunnel audio chat over ssh

I'm running a HelpDesk for internal call center employees. Right now, we can chat with employees over our web portal and remote-control their Linux Mint workstations via VNC over a secure SSH tunnel. ...
2
votes
0answers
426 views

iptables rule to transfer UDP through a SSH tunnel

The problem I have two programs that runs on two distant computers and communicate through a specific protocol. All I know is that this protocol only communicates through UDP and uses the ports 1101 ...
1
vote
0answers
51 views

Equivalent autossh command?

I am using the following command to setup an SSH tunnel to a remote server. I am using Ubuntu 15.10, and the remote server is running Ubuntu 14.04.3. ssh -N -f -L localhost:7154:localhost:7154 ...
1
vote
0answers
22 views

Can I change owner of a tunnel after creating it?

I've been trying to finagle pytun to do my bidding in creating persistent ssh tunnels, but I very much do not want these to be owned by root and unless I modify the python package myself (which as a ...
1
vote
0answers
170 views

Why MS Sql port (1433) forwarding does not work over http_connect proxy?

I have a windows machine with putty, which has access to ms sql server on local network. And i have a remote Ubuntu machine on the Internet with sshd on 443 port (required to establish secured ...
1
vote
0answers
53 views

SSH reverse forward to a node “behind” the SSH server node

Scenario - SSH client, Windows laptop with Samba enabled (port 445. Don't care about netbios) SSH server "TestingLAB". This machine has 2 interfaces, "publicIP" which I use to connect from my ...
1
vote
0answers
135 views

Reverse AutoSSH working, but the proxied LISTEN ports fail randomly

I'm having a hard time describing the error, sorry for the lengthy explanation: I have a successful, working, stable reverse AutoSSH solution nailed up between a client beagle board and a server. The ...
1
vote
0answers
135 views

It is possible to make an IPSEC VPN Bonding?

I wanted to know if It is possible to bound two IPSEC tunnels ? I've already done a VPN bonding of SSH tunnels, but It will be better if I use IPSEC.
1
vote
0answers
162 views

Mounting nfs4 partition over ssh tunel

I am following this manual on how to mount an nfs port over an ssh tunnel: https://blogs.oracle.com/shepler/entry/tunneling_nfs_traffic_via_ssh I need this because I want to mount an nfs partition ...
1
vote
0answers
30 views

Appearing to be on the same network

I have a user that needs to connect to a machine located on a private network at another facility. Basically 192.168.0.20 -> 192.168.0.1 -> Internet -> 192.168.1.1 -> 192.168.2.1 -> ...
1
vote
0answers
130 views

UDP Tunnel via SSH Confusion

Overview: I have a software program which communities on UDP port 1046 and I am hoping to hook two computers together. Laptop (Required to ALWAYS have VPN connection) Desktop (Public ip address) ...
1
vote
0answers
297 views

SSHD_CONFIG keeps corrupting on reverse SSH setup

I have a reverse SSH setup to traverse an impenetrable CGN NAT. It works well, but the SSHD daemon on the client behind the NAT keeps dieing for unknown reasons (fails to start-up). The client ...
1
vote
0answers
108 views

Forcing broswers to use a different host and port when viewing websites over ssh-tunnels

I've setup an ssh tunnel to a network that has a website I need to view. However, when requesting the page my browsers sends the host localhost and url http://localhost:1234 in the HTTP headers. Is ...
1
vote
0answers
131 views

xtightvnc through ssh gateway — connection refused

Following setup: homepc -> gateway -> workpc workpc:~$ tightvncserver :12 homepc:~$ ssh -N gatewayuser@gateway -L 1212:workpc:5912 Now I try to connect via homepc:~$ xtightvncviewer localhost:...
1
vote
0answers
131 views

How to get information from sshd about established remote tunnels

I have a server running on which from many different places people log on via ssh and open remote ssh-tunnels to other places behind different firewalls. Now I want to try to get an overview, which ...
1
vote
0answers
71 views

ssh connection hangs when looking up a SERVFAIL domain

Scenario: I am browsing the internet through an ssh -D port-forwarding tunnel, both browsing (http, https, ...) connections and domain lookup queries are done using this SOCKS 5 local proxy. The ...
1
vote
0answers
322 views

ssh local tunnel to VM

So, can anyone explain why this doesn't work? Everything from remote host (192.168.1.3): ssh -L 9000:192.168.1.2:80 login@192.168.1.2 elinks http:127.0.0.1:9000 and I can see a web page. other ...
1
vote
0answers
732 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
1
vote
0answers
371 views

Disable SSH Tunnel with KVM VNC Server

Here at work we've set up a KVM server that hosts a couple guest machines. The KVM itself is headless and we remote into whenever needed, but we would like to be able to VNC into the guests. I have ...
1
vote
0answers
518 views

Reverse tunnelling with “stunnel” in linux

Scenario: Central Log-Server(logserv)- only private IP interfaces Multiple client servers (logclient)- has public IPs. Requirement: Need to tcp logs of syslog application from various logclients ...
0
votes
0answers
28 views

How to transparently tunnel a local device to appear from a remote address?

I'm looking for help with a networking problem. Unfortunately I only know the bare minimum in this area and am not even sure I've been using the correct terminology for what I want to do, so I've run ...
0
votes
0answers
20 views

Question about SSH tunneling

Consider this scenario. I have network manager on Server (S) and a network machine (N) both in a different network."N" can only be accessed via VPN..... .My laptop (L) is in the same subnetwork of ...
0
votes
0answers
21 views

Why the virtual interface is down when I establish a layer-3 SSH VPN using “tun” devices

I would like to establish a layer-3 SSH VPN on Ubuntu 14.04. To create a tun virtual device, I used the command ssh -f -w 0:0 root@41.33.17.26 -p 2010 true, it creates the interface 'tun0' but the ...
0
votes
0answers
33 views

Permanent proxy by sshuttle to Tunnel all the traffic

I need to set a proxy for my server. So I ran sshuttle on my server as follows:screen -dmS proxy sshuttle --dns -r alex@152.21.94.233:2020 0/0 When I log out the session, I can not login to the ...
0
votes
0answers
19 views

Reject ssh -L connection unless a corresponding ssh -R exists

Is there any way to make an SSH server reject a connection that attempts to use port forwarding unless it is directed to an existing reverse tunnel? To clarify, my intent is to only allow forwarding ...
0
votes
0answers
20 views

ssh tunnelling with and without PuTTy

I want to perform ssh tunnelling for which I have been using PuTTy. Config is as follows: Host IP: 172.XX.XX.111 Port: 22 Tunnel setting source port: 19005 Destination: 172.XX.XX.40:1521 After ...
0
votes
0answers
28 views

How to get informed about EVERY incoming ssh connection (e.g. with no remote command specified)

The case I'm used to set up automatic reverse ssh tunnels to remote computers via my server with cron. Usually I use the following entry: @reboot sleep 300 && ssh -MNf -R xxx22:host:22 user@...
0
votes
0answers
37 views

How work tunnel to gnome connection manager

Someone using gnome connection manager? (http://kuthulu.com/gcm/?module=home&lang=). I need setup the tunnel for connection but i don't understand how to configure, help please!
0
votes
0answers
49 views

What kinds of IPC are used in ssh port forwarding?

SSH local forwarding is specified by: -L [bind_address:]port:host:hostport on the local host, a process called P1 attaches to port, so that P1 and the ssh client SC can communicate. What type of ...
0
votes
0answers
45 views

Connect to work pc via ssh

I have a PC on my work which I want to connect to from home (on both machines Ubuntu 14.04 is installed). I already opened a port in my work firewall. Now I found an instruction to create a pseudo ssh ...
0
votes
0answers
17 views

Connect from firewalled server to git through connected client

The servers I am working on block port 22 on outgoing connections. But my local machine doesn't block port 22. I would like to reverse tunnel the server to my local machine, so that when I run git ...
0
votes
0answers
156 views

SSH connection breaks after executing commands (broken pipe)

I am connecting to a remote machine on WAN and LAN networks using SSH. After logging in with username & password I type some commands in the shell. After the 2nd or 3rd command PuTTY throws the ...
0
votes
0answers
85 views

SMTP traffic being forwarded through SSH even do AllowTcpForwarding is disabled

I have a situation on one server, where it seems to be spaming over traffic being sent over SSH tunnel. Output below shows connections being made to remote SMTP server that seem to be initiated over ...
0
votes
0answers
159 views

Accessing forwarded port via SSL/TLS

I have a Raspberry Pi that sets up an SSH tunnel with my VPS so that I can access several things remotely. My Pi forwards its local port 80 to my VPS's port 3180, so I can access it via http://domain....
0
votes
0answers
85 views

RDP from Windows PC to Linux

I have my Windows on network A and Linux machines on network B. I want to access the 0th desktop of one of the Linux machine from my Windows. I can ping my Windows machine on network A from the Linux ...
0
votes
0answers
186 views

Xdebug not working over a reverse shell

I've opened a reverse shell to my remote server to tunnel port 9000 to my local machine like this ssh -R 9000:localhost:9000 you@remote-php-web-server.com but but it doesn't work. The reverse shell ...
0
votes
0answers
244 views

Problem in using SSH tunnel

In a network, due to a reason that I don't know, I can't browse the web in Linux(In windows it has no problem). I get Error 301 moved permanently when I try to load a web page. I decided to bypass ...