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

learn more… | top users | synonyms

0
votes
1answer
13 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 ...
4
votes
1answer
908 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 ...
6
votes
3answers
5k views

How can I set up a remote port forward on port 80 to my localhost with the help of setcap?

I'd like to accept connections briefly for development when I'm NATed, and so I'm attempting to do this: $ ssh ubuntu@example.org -R 80:localhost:80 Which fails as I'm trying to bind a port that is ...
1
vote
3answers
27 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 ...
0
votes
1answer
42 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 ...
11
votes
3answers
11k views

ssh port forward to access my home machine from anywhere

http://serverfault.com/questions/303937/how-to-make-freebsd-box-accessible-from-internet I want to understand this whole process of port forwarding. I read so many things but failing to understand ...
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 ...
1
vote
1answer
743 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 ...
1
vote
1answer
1k 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 ...
3
votes
2answers
39 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
39 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
26 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
vote
1answer
902 views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
-1
votes
4answers
84 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
22 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
49 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 ...
4
votes
1answer
172 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 ...
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 ...
6
votes
1answer
3k views

How can I forward sound over VNC?

I use TightVNC and Remmina Remote Desktop to connect my Raspberry Pi to my Ubuntu laptop over VNC. It works great for the most part, except for the fact that there is no sound. I have googled all ...
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!
4
votes
1answer
2k views

x11 connection established but magic-cookie value different?

From my local machine I ssh to a remote server along with authentication regarding X display. I know that in this process, MIT-MAGIC-COOKIES are used and the value in both server and client needs to ...
1
vote
2answers
208 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 ...
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 ...
0
votes
1answer
45 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 ...
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
62 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
56 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
32 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
44 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 ...
1
vote
1answer
155 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
1answer
33 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: ...
2
votes
2answers
5k views

Channel 0: open failed: administratively prohibited: open failed

I was doing this tutorial, but when it comes to the part where O should run these commands: local-server# ssh -NTCf -w 0:0 87.117.217.27 local-server# ssh -NTCf -w 1:1 87.117.217.44 It says: ...
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
1answer
65 views

Forwarding traffic coming from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of an ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of a VPN tunnel. Given four Linux devices A, B, C and D, for ...
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 ...
65
votes
17answers
112k views

SSH tunneling error: “channel 1: open failed: administratively prohibited: open failed”

When I open this ssh tunnel: ssh -nXNT -p 22 localhost -L 0.0.0.0:8984:remote:8983 I get this error when trying to access the HTTP server running on localhost:8984: channel 1: open failed: ...
6
votes
1answer
3k views

Run X clients over multi-hop ssh tunnel

I've recently converted my home development machine to Linux, and would like to be able to log into it from work if needed. I use a mixture of Linux and Windows machines, and I already have various ...
1
vote
1answer
102 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
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 ...
0
votes
2answers
67 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
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 ...
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 ...
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
1answer
127 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
49 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
128 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 ...