Questions tagged [ssh-tunnel]

An SSH tunnel leverages the SSH protocol to transport unencrypted data through an encrypted connection.

An SSH (secure shell) tunnel provides a secure connection through which unencrypted data can be sent.

This technique can be useful for:
- Providing security for insecure network protocols.
- Hiding one's true location (ip).
- Circumventing blocked ports in firewalls.

857 questions
-1
votes
1 answer

What are the ways to connect to an ec2 instance in a private subnet?

I have a VPC with private and public subnets and I want to ssh into one of the machines which is in the private subnets. I have heard of the bastion method but want to try others too, please help me with any methods you know, I also have the NAT…
-1
votes
1 answer

Which command is used to establish ssh tunnel in windows?

I wish to establish a ssh tunnel between windows server and client without port forwarding. I know the command to use to establish tunnel with port forwarding, But i only have a Server and a client so cannot use forwarding. ssh user@serverip -L…
Verma
  • 11
  • 1
  • 1
  • 4
-1
votes
2 answers

OpenSSH ignores "AllowTcpForwarding no" in sshd_config

On ubuntu 16.04.3 / OpenSSH_7.2p2 disabling Tunneling globally by setting these values in /etc/ssh/sshd_config has no effect and Dynamic / Local tunnels still work AllowAgentForwarding no AllowTcpForwarding no AllowStreamLocalForwarding…
user3759159
  • 9
  • 1
  • 1
  • 3
-1
votes
1 answer

How to have multi SSH reverse connections using autossh?

I used autossh in my raspberry pi to connect to one of my VPS. But I have 4 raspberry-pi(s). I used the same script to connect to my remote VPS, so that I can login in every raspberry pi anytime remotely. For those 4 pis, I used autossh in this…
dotslash
  • 219
  • 3
  • 16
-1
votes
1 answer

Local Port Forwarding does not work when only port 22 is allowed by Iptables

I'm trying to perfom a Local Port Forwarding using SSH tunneling. Machine 1: the rules of iptables are: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt…
Addon
  • 1
  • 2
-1
votes
1 answer

Windows Server connection using putty

Iam having hard time connecting to an Azure Windows Server 2012 from my institution (University). The goal is to connect to the SQL Server that runs on this Windows server This is the strange situation: From my house, i connect with RDP, ssh and sql…
Theodore
  • 1
  • 2
-1
votes
2 answers

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 my.server.com app I want to understand, what exactly…
Mark
  • 249
  • 1
  • 5
  • 13
-1
votes
1 answer

SSH connecting on port 22 but times out on 443

I'm trying to connect to an ssh sever running on cygwin on my home computer through putty on my laptop, this works fine both inside my network and outside on port 22 but on port 443 it times out. Which is a bit of a problem as the network I'm going…
CMCK123
  • 1
  • 1
-1
votes
1 answer

Setup Tunnel via ssh and use it's Internet for VPN clients

I have two VPS centos 6.6 x64 with Public IP addresses example:1.1.1.1 and 2.2.2.2 VPS with 1.1.1.1 is a VPN server I Need to connect 1.1.1.1 via ssh to 2.2.2.2 so My VPN clients on 1.1.1.1 can Have 2.2.2.2 Public IP address How can I do this?
AriaData
  • 53
  • 1
  • 1
  • 5
-1
votes
1 answer

What does -ssh mean in SSH Tunnel

A previous employee at the company i work for had set up an SSH Tunnel but I am having some difficulty with it. echo y | plink.exe -ssh -R 24011:localhost:1433 connect@testsite1.fern.io My understanding is this is creating a reverse SSH tunnel with…
EamonnMcElroy
  • 31
  • 1
  • 7
-1
votes
2 answers

“Cannot open SSH Tunnel” on MySQL (corrected)

(help, patience and mercy... begginer lost haha) -Ok heres the deal, im trying to connect a EC2 Instance to MySQL throught SSH in MySQL Worckbrench -I set up the configurations this way SSH Hostname: My Public DNS SSH Username: ec2-user and the…
Santiago Ros
  • 9
  • 1
  • 2
-1
votes
1 answer

Proxy a remote web host to appear as localhost (via ssh tunnel)

I'm developing a web app that needs to embed pages from a legacy web app in an iframe, which needs to be recognised as the same origin to allow the page to mess with the iframe contents via javascript. Since I'm developing on localhost. I therefore…
Nat
  • 99
  • 3
-1
votes
1 answer

SSH through another machine at work to an external server

I'm fairly sure this will have been asked before, I have found similar questions but I do not fully understand how to apply them to my situation. So, sorry for asking again. We have a number of servers located in a data centre which have firewall…
Luke Cousins
  • 387
  • 1
  • 3
  • 18
-1
votes
1 answer

Prevent SSH Session Eavesdropping through a Bounce Host

In order to access a Linux host through a firewall/NAT I am required to use an SSH "bounce host". I am concerned with the possibility that this bounce host may be logging my SSH session. In a test environment I am able to log anything that is…
Tuaris
  • 71
  • 2
  • 13
-1
votes
1 answer

Server between our office network and the internet, as wireless router and ssh tunnel

We have a small office network that today is behind a normal router connecting us to the internet. We have a web based system on the internet and we have some admin tools on it that we want to lock to our office IP. But we still want to be able to…
Andreas Larsson
  • 137
  • 1
  • 4