Can I use SSH tunnel to get around firewall? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 8 years ago. Improve this question I want to ssh to Server-A which only accepts connections on port 1234. This port is blocked on my current network’s firewall. Server-B … Read more

How to test ssh tunelling?

Let’s say I create a reverse ssh tunnel, with the following command. ssh -R 8080:localhost:11111 user@remote I can test that the tunnel is open on the remote with nc command nc -v 127.0.0.1 8080 localhost.localdomain [127.0.0.1] 8080 (http-alt) open However I have no idea how I could test that the remote can indeed communicate with … Read more

How to create local proxy server accessible to machines on LAN

My requirement is … Route “all” the traffic from locally connected machine A to pass through machine B, as if the traffic originally got generated from machine B. Reason.. Machine B has access to some remote resources via a private VPN connection e.g. database servers, hosted repositories etc. The problem.. Only one person can use … Read more

Impossible to connect ssh /root/.ssh/known_hosts’: No such file or directory

I can’t connect to my server with ssh. I have already started a session with ssh but i know if i quit this session, i won’t be able to connect again to my server. ssh root@genese.com @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! … Read more

“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 keyfile of instance MySQL Hostname: 127.0.0.1 MySQL Serverport: 3306 Username: root (This last … Read more

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 management studio fine, with no problem. From the institution, i … Read more

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 source destination Chain OUTPUT (policy DROP) target prot opt source destination ACCEPT tcp — anywhere anywhere tcp dpt:ssh Machine 2: ssh … Read more

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

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago. Improve this question I have a VPC with private and public subnets and I want to ssh into … Read more

When someone gains remote access to a server are there other ways to execute system commands other than the bash shell?

I am hardening a server and attempting to build a restrictive layer to a potential hacker even with root access to the server to do harm. If a user gains root or user access to the shell via say ssh, is there any other way for a user to access system commands other than via … Read more