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

learn more… | top users | synonyms

0
votes
1answer
12 views

SSH tunnel between two Raspberry Pis to access a Webcam [on hold]

I have a webcam sitting behind a 3G mobile router which is blocked for access from outside. I think the best way to gain access to this webcam would be by setting up an SSH tunnel. I was reading ...
1
vote
3answers
24 views

Understanding, and viewing, how ports are allocated by ssh tunnels?

I was trying to figure out a small problem with connecting to vnc through an SSH tunnel today where one of the possible issues was that someone else was already tunneled to the port. Without going ...
1
vote
0answers
18 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 ...
0
votes
1answer
41 views

Unable to establish an SSH tunnel using Redis Desktop Manager

I am trying to connect to an Elasticache Redis Server via an AWS Ubuntu instance and using an ssh tunnel. When I try to configure Redis Desktop Manager to connect via an ssh tunnel and provide ...
3
votes
2answers
37 views

Multi-hop socks proxy, how to?

I'm starting from a suggestion to use jvisualVM via SOCKS. However, I have a somewhat complex topology. Starting from my laptop, I have two intermediate hosts to get through to reach the machine I ...
4
votes
1answer
35 views

VPN server (beachhead) without root?

How can I set up a VPN server on a host where I don't have root? I have the following constraints: On the server A, I have no root. I can only operate in my home directory. In particular, I also ...
1
vote
1answer
25 views

Confirming that a reverse ssh tunnel has been established

I have a reverse ssh tunnel established between a client and a server computer. The client connects on the server on port 22, and creates a reverse ssh tunnel on port 4030. After the client computer ...
-1
votes
4answers
82 views

Ssh into a remote server, but my organization has blocked port 22

I am using Redhat Openshift server to deploy my webapps. To access the contents of my application I have to ssh into their server. Example ssh 56555ff90abcdefbf6e000077@appname.rhcloud.com ...
0
votes
0answers
21 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 ...
2
votes
1answer
47 views

Why doesn't FTP work through my ssh tunnel?

Computer A (assumed that ip is 44.44.44.44)can ftp the host 130.89.148.12. ftp 130.89.148.12 Connected to 130.89.148.12. 220 ftp.debian.org FTP server Name (130.89.148.12:debian8): anonymous 331 ...
0
votes
0answers
19 views

Trying to make a SSH Tunel [duplicate]

I configurated a bastion server on AWS on my public subnet. I can make direct ssh to the ec2 instance inside the private subnet, using the bastion host. I can connect to the bastion host and check ...
0
votes
2answers
47 views

set up secure connection over SSH

I'm setting up a server application which requires to establish a secure connection over SSH2, e.g. a client must open SSH2 connection to the server to reach specific application: % ssh -s -p5000 ...
0
votes
0answers
12 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
1answer
42 views

“channel 3: open failed: administratively prohibited: open failed” when creating a VNC session on a SSH tunnel

On creating a VNC connection via tunneled SSH connection, I get an error: channel 3: open failed: administratively prohibited: open failed I have found that this happens only when I'm not logged ...
0
votes
1answer
29 views

SSH tunnel between 3 box to get internet access

The network looks like this : Server X -- My machine -- Server Y My machine has SSH access to both boxes. Server Y has internet but not server X. How can I make a tunnel so server X can acces the ...
2
votes
0answers
66 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
1answer
61 views

How to use SSH tunnel to connect to remote MySQL server?

I am trying to connect to remote MySQL server, which runs on CentOS 6.6 cPanel server. I am creating tunnel this way: ssh -L 3306:xxx.xxx.xxx.xxx:3306 user@xxx.xxx.xxx.xxx -p PPPPP Where ...
3
votes
1answer
55 views

setting up SSH reverse tunnel [duplicate]

I have the following setup: I would like to be able to ssh or vnc from home computer to work computer. I think that I could setup some permanent ssh (reverse) tunnel to get this all going, but I am ...
2
votes
0answers
30 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 ...
1
vote
1answer
43 views

ssh tunnel and oracle

On oracle server i can connect clear sqlplus user/pass@hostremote/SID If i make a tunnel ssh -L 1521:localhost:1521 -F -n hostremote -vvv give me debug1: Connection to port 1521 forwarding to ...
1
vote
1answer
33 views

Keeping an SSH tunnel up while my system is up - init.d service or something else?

I use an SSH tunnel on my host computer daily; but so far I've just been manually using some terminal just for that: Entering ssh -D 5001 user@some.where.com at the command line, and redoing it if ...
0
votes
1answer
30 views

Port forwarding error

I am trying to use VNC on my KVM guest, following this guide: http://blog.scottlowe.org/2013/08/21/accessing-vnc-consoles-of-kvm-guests-via-ssh/ This is the ssh command I am using from my host: ...
1
vote
2answers
196 views

Reverse SSH “Connection closed by ::1”

I try to establish a remote ssh connection. I tried to connect "Remote" with ssh -fN -R 10110:localhost:22 GatewayUser@GatewayHost and "Gateway" with ssh -p10110 RemoteUser@localhost I got the ...
1
vote
0answers
26 views

Having troubles connecting through tunnel to a server

Since yesterday I'm failing connection to my server partition on my school server. To access to my server I need to pass through a tunnel that require a password and connect me to the server. This ...
1
vote
0answers
42 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
1answer
144 views

ssh into a server which is connected to a VPN service

I have a virtual private server, which I would like to run a web server while my server is connected to a VPN service When the VPN connection to my provider is not up, I can do anything I want with ...
0
votes
2answers
65 views

What does “bind_address” mean in SSH port forwarding?

In SSH local forwarding: -L [bind_address:]port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side. ...
0
votes
0answers
28 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 ...
1
vote
1answer
98 views

Which processes do the ports (as communication connection endpoints) belong to in SSH port forwarding?

(1) For remote forwarding: -R [bind_address:]port:host:hostport Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side. ...
0
votes
2answers
36 views

SSH Tunnel with key on first server

Im trying to tunnel to DestinationHost through HopHost with ssh -o ProxyCommand='ssh HopHostUser@HopHost nc -w 10 %h %p' DestinationHost First, I get to authenticate towards HopHost as HopHostUser ...
2
votes
0answers
31 views

SHH Tunneling only accepted on some ports

I'm working with Server running Ubuntu Server 14.04. I use Plink to request some reverse tunnels from a remote computer to the server. For some ports that works just fine, but for most ports it seems ...
2
votes
1answer
126 views

How do I create a SSH user that can only access MySQL?

I want to set up an SSH tunnel to my MySQL database on a remote server. Can I create an SSH user that has only the minimum permissions that are strictly necessary to access MySQL, for example with a ...
0
votes
1answer
48 views

Correct ssh config file settings to tunnel to a 3rd machine

I'm trying to tunnel to and end server via a bridge server. So far, I've been able to get it working from the command shell properly using the following command: ssh -A -t ...
2
votes
0answers
126 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 ...
0
votes
0answers
40 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 ...
2
votes
1answer
72 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 ...
4
votes
1answer
171 views

Predicting the PID of previously started SSH command

This is the weirdest thing. In a script, I start an SSH tunnel like so: ssh -o StrictHostkeyChecking=no -fND 8080 foo@bar This starts an ssh instance that goes into the background, and script ...
1
vote
1answer
46 views

Reverse SSH dynamic port allotment error

When I run: ssh -i mycert -R 0:localhost:80 user@myserver.com and run the following on 'myserver.com': curl localhost:dynamicly_assigned_port I get 'ssh:Server send unrequested port, from port ...
2
votes
2answers
65 views

Openssh server: fatal: Too many listen sockets. Enlarge MAX_LISTEN_SOCKS [closed]

I am using Ubuntu 14.04 LTS. I want to create an openssh server, which listens on many ports (at least 100 different ports). Multiple clients would connect to this server, but each client would need ...
0
votes
1answer
39 views

Connecting two end-points through proxy server with SSH tunneling

I have a simple client and a HTTP server (port 80). In some cases, the client and server can exist on different locations, NAT'ed behind a firewall (allowing only outbound connections to port 80). ...
4
votes
1answer
271 views

forward all mysql traffic to a ssh tunnel

I have a local application that needs to connect to a remote mysql server at 40.40.40.40:3306 The main firewall blocks all connections but ssh, I can set up a ssh tunnel and connect to the server ...
2
votes
2answers
70 views

Using reverse SSH tunneling in one step instead of two steps (with -X)

Suppose we have three hosts: miki - my computer behind a NAT vps0 - my VPS mum - computer of my mother, behind a different NAT. The task is to connect from my computer to my mum and keep X11 ...
1
vote
1answer
77 views

SSH Tunneling - Local and Remote Use Cases

I just learned the basics of SSH tunneling from googling. I saw this interesting question: How does reverse SSH tunneling work? But I still find it a bit confusing, more specifically on the ...
1
vote
0answers
95 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 ...
0
votes
0answers
13 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 ...
3
votes
3answers
65 views

How to start two processes piggie-backed? So the first finishes when the second finishes?

I'm running a script with ssh commands to a server behind a jump-host. Each time I want to run a command on my server in the secure network, I need to ssh into the jump-host (bastion) server and run ...
4
votes
2answers
75 views

Can connecting to a SSH tunnel result in a vulnerability?

it's probably a noob question, but I haven't found a real answer yet. I bought a proxy service. In order to setup my browser I have to establish a SSH tunnel to their server. Since I do not want to ...
2
votes
1answer
90 views

If I use an SSH tunnel to forward a remote port to a local one, and my IP address changes, will that tunnel still work?

Simple - trying to use my personal computer as a server, by forwarding a public static IP address's port to mine, but I'm worried about Comcast pulling out the rug from underneath my feet and changing ...
2
votes
2answers
145 views

How can I maintain open ssh connection and use it from shell scripts?

Currently i invoke the following: $ ssh me@host.com my_cmd This is slow and not easy to automate safely. I would like to establish ssh connection once and have some script that will forward my ...
0
votes
0answers
104 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 ...