Questions tagged [ssh-tunnel]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Hot to get external host names for each internal private addresses?

My lab has a private network like this (public address: 133.3.133.133, host name: my.lab.host.name) lab-gateway (private address: 192.168.0.1) |__labgpu01 (private address: 192.168.0.3) |__labgpu02 ...
1
vote
0answers
39 views

Host SSH tunnel access from within rootless container run by Podman

Background System is running a rootless container based upon the docker.io/rocker/shiny-verse:latest image that publishes a port (say 8000) for remote web connections (to access the shiny ui). The ...
0
votes
1answer
61 views

SSH tunnel on background disconnects immediately in a Docker container

I'm trying to connect my app running in a docker container to a database through a SSH Tunnel. My dockerfile is something like this: # Alpine, PHP7.4, Nginx FROM richarvey/nginx-php-fpm:1.9.1 EXPOSE ...
0
votes
1answer
30 views

If an SSL certificate's name must match the name entered into the browser, what do you do with SSH Local Port Forwarding?

If the SSL certificate must match the name entered into the browser; what if the name entered into the browser is https://localhost:8080, in the case of accessing a server that is behind an SSH ...
1
vote
0answers
15 views

“tunX” interface device sequence is incrementing with every “ssh” connection

We use ssh -w connection to create tunnels from client workstations to the server. -w creates a tunnel interface for that particular ssh connection. On the server side I noticed every time ssh re-...
1
vote
1answer
41 views

SSH reverse port forward disconnects each 10 minutes

I have a SSH reverse port forward set up with the following command: autossh -N -R 0.0.0.0:22722:127.0.0.1:22 -i /tmp/my_ssh_key -o StrictHostKeyChecking=no -p 22 -4 -C reverseportforward@myserver ...
0
votes
1answer
29 views

Not able to do port forwarding with multiple hosts

I have one hop between my local machine and the machine I want to access some remote port. I am trying following thing. But doesn't seem to work. From remote machine, I want port 9443 to open on my ...
0
votes
0answers
20 views

SSH agent forwarding not working on LSF when using BSUB

At my institute we have a cluster that runs LSF. Via this cluster, I want to connect to other computers/servers using Agent Forwarding. This works fine when I am on the login node, however when I am ...
0
votes
0answers
31 views

`ufw default deny outgoing` breaks sshuttle

sshuttle is this During the following process the content of my /etc/resolv.conf is: nameserver 1.1.1.1 Here is my initial ufw rules: Status: active Logging: on (medium) Default: deny (incoming), ...
1
vote
1answer
55 views

Ssh config file on intermediate host is ignored for ssh proxy with proxycommand

I'm connecting to host-b through host a Host host-a HostName 10.8.0.1 Port 333 User host_admin IdentityFile ~/.ssh/id-ecdsa-admin Host host-b HostName 1.1.1.1 Port 567 ...
0
votes
0answers
14 views

WebBrowsers don't obey ProxyFire rules

I am using ProxyFire portable v.3.42 on Windows to route all my system network traffic over LocalHost. In MobaXTerm(same as Putty) I have set a SSH Tunnel by forwarding 127.0.0.1:4567 into my server. ...
0
votes
2answers
110 views

Open Source Remote Access using VNC and Reverse SSH

I am trying to get a remote access approach (open source) working involving openssh and tightvnc that deals with NAT, that allows someone to remote to my server and then allows me to vnc back to their ...
0
votes
1answer
13 views

specifying server port (not postgres port) for pg_dump / psql

I have a server named as servername.mydomain.com. I can do ssh to this server using a port number X using: ssh myusername@servername.mydomain.com -p X From this server I can run: psql -h localhost ...
0
votes
0answers
14 views

SSH tunnel on remote Windows loads infinitely

I have the following setup: I need to maintain a web application on a remote Linux server. When I work from my company, I connect there via PuTTY with an SSH tunnel for the port localhost:8080 as 8002....
0
votes
0answers
42 views

sshuttle session freezes within a few mins

sshuttle session freezes with error uwrite: got EPIPE, warning: closed channel 1 got cmd=TCP_DATA len=2048 Have hit a wall now so any help much appreciated! Only happens on my machine. My ...
0
votes
0answers
18 views

SSH Tunnel to access XenCentre

I have a SSH tunnel, which I can use to access the VMs fine, but when I try to tunnel 443 to access XenCentre, it gives an unknown error. I have done this successfully before in the past. I ...
0
votes
0answers
22 views

Can't port forward from Windows client to RDS Sql Server instance via bastion

I am on a Windows 10 Pro machine and trying to connect to an RDS SQL Server instance by port forwarding through a bastion EC2 instance. I am using the OpenSSH client on my Windows machine. The SSH ...
0
votes
1answer
84 views

How to add ipv4 capability to ipv6-only-vserver?

I have an ipv6-only-vserver and a dual stack (ipv4-ipv6) server. How do I "add" ipv4 capability to the ipv6-only-server? So it's possible to "use" it like a ipv4 server: ssh/scp into the vserver via ...
0
votes
0answers
45 views

Firejail not working over socks5 SSH tunnel

I have an Ubuntu 18.04 server in which I've created two virtual interface pairs (veth0a & veth0b) and assigned the end of one interface (veth0b) to a new network namespace (netns0): ip netns add ...
0
votes
0answers
57 views

Windows RDP over ssh tunnel: remote vs local

Why does this direction work: ssh -L 5000:ip_of_windows_pc_A:3389 ip_of_ssh_server (on Windows pc B with putty) Then connect on Windows pc B with Windows remote desktop to localhost:5000 and have a ...
0
votes
1answer
44 views

access an http server as localhost from an external pc over ssh

I have an application server at work that can accept http request only from localhost. At home I access the server through ssh. Once on the server I can curl http://localhost/test.html I would like ...
1
vote
0answers
277 views

Send Mails with Postfix through SSH Tunnel

I'm a bloody newbie to SMTP and Postfix but I have configured a Postfix SMTP Service with SASL authentication on Raspbian in a local network behind a firewall. There is also a Dovecat IMAP Server ...
1
vote
1answer
123 views

SSH multiplexing hangs if not gracefully shutdown

I am attempting to set up remote access to my home computer via SSH with multiplexing. Here is the setup: from my laptop, I connect to a port on my modem; this port is forwarded to my router, which ...
1
vote
1answer
164 views

SSH running in background (-f) with sshpass

My final goal is to use both ssh -f and sshpass together, although it is quite not works. ssh -f tries to fork from the ssh process and also sets stdin to read from /dev/null - what makes things ...
0
votes
1answer
171 views

Permission Denied on NFS mount through SSH remote tunnel

I successfully exported a directory from a CentOS 7 server to a CentOS 6 server(I used * in /etc/exports (as opposed to the server's IP). But I can't seem to find solutions that work for me to export ...
0
votes
0answers
27 views

Check if SSH tunnel is still running

I'm running an SSH tunnel command that looks like this: ssh -v centos@bastion001.int01.abb.us.company.com -L 9999:10.238.93.43:8991 But when I test listening connections with the netstat command I ...
0
votes
0answers
34 views

IPTABLES port nat forwarding using SSH localForward

|<--------- INTERNAL NETWORK--------------------------------------->||<--- PROVID PRIVATE NETW ------->| |<--------- DESKTOP (MacOS) ---------->|<-- LINUX HOST w IPTABLES-->|<--- MS SQL ...
0
votes
0answers
94 views

ssh tunneling not working on Mac Os X

I have a mac host I want to use as a ssh server to access other computers on my LAN from a remote standpoint. For example, I want to access a web server (port 80) having address 192.168.1.4 on my LAN. ...
0
votes
2answers
102 views

Use wget on a cluster with ssh-tunnel [closed]

Normally I can sercure copy files from one machine to another using > scp -oProxyJump=user@login.node.org ssh user@main.node.org:/home/user/my_files/* . which is very slow for large data sets. I ...
0
votes
1answer
160 views

SSH reverse tunnel from config file

I'm looking for a ssh client config directive like LocalForward that works as the -L CLI parameter but for the -R parameter TL;DR full problem details The data: repoServer -> myComputer -> ...
0
votes
1answer
160 views

Bind VNC over SSH jump host tunnel to something other than localhost port

I know how to use a jumphost to create an VNC SSH tunnel ssh -A -N -L 5901:targethost:5901 jumphost however, that binds to the localhost of the initiating machine. So if I want to bind to many hosts ...
0
votes
0answers
29 views

Why do some of the Internet traffic bypass my WAN IP (set by my OpenVPN service)?

I connect with my laptop at home to my OpenVPN server that I run at my office. Everything works great (I can remotely reach all local devices at the office). Moreover, when visiting www.speedtest.net ...
0
votes
0answers
121 views

Tunnel created using SSM only allows single connection to destination port

I've established a tunnel between my laptop and an EC2 instance to use port 27019 locally and port 27017 (MongoDB) remotely. aws ssm start-session --target "i-someinstance" --document-name AWS-...
3
votes
1answer
460 views

ssh -R binds to 127.0.0.1 only on remote

I'm running ssh -N -f -R127.0.2.3:23000:127.1.2.3:23000 user@remote , and I expect the tunnel on remote has opened on 127.0.2.3:23000, but it only opens on 127.0.0.1:23000, and it's inconvenient ...
0
votes
1answer
265 views

SSH Tunnel Through Multiple Hosts to Forward Traffic to Device

I am attempting to minimize my Public facing attack surface. Allowing only traffic from a specific IP address. I want to prevent all input access to the remote WAN/Edge Router's management port from ...
0
votes
0answers
123 views

SSH Remote Port Forwarding not opening port

I am trying a remote port forwarding on a remote server (linux) with this (local is windows): putty.exe -ssh root@remote_host -R 55555:www.google.es:80 And the port is not open on the other side. ...
1
vote
0answers
85 views

Web server on remote, is it possible to ssh to remote and have local browser connect to server?

On a headless remote machine which I connect to via ssh and do not have sudo privileges, I have an interactive python script with a console interface. I want to use a simple web framework like flask ...
0
votes
1answer
169 views

How do i connect to remote Potgresql server via Unix Doman Socket over SSH [closed]

I have a two machines, my workstation running on Arch Linux and my cloud server running on Ubuntu. I have installed Postgresql on my server, and it is accessible via Unix Domain Socket on the server ...
-1
votes
1answer
277 views

How to access free internet through a server [closed]

I have an internet connection which is limited to only connect to some local servers in my area. In this area, I own a server which access is wider than my internet connection and through this server, ...
0
votes
0answers
52 views

ssh tunnel to nfs shared folder does not work

I have a kubernetes cluster on one host where the master and the workers are on virtual machines. On another host, which is connected to the first through a local network, I have a virtual machine ...
0
votes
0answers
18 views

GRE Tunnelling Routing use other client IPS

I have setup GRE tunnel with centos server that works perfectly between two servers A master and B slave the second server B contains two ips X and Y the issue is that the provider of server B said ...
1
vote
1answer
81 views

Tunneling between two servers [closed]

There are two servers in this network The first server benefits from censored internet The second server uses uncensored internet The client can only connect to the first server and connect to the ...
0
votes
0answers
20 views

Browsing through ssh tunnel , can not 100% complete loading page

I need to access to a wifi ap gui behind my ubiquity litebeam cpes at 172.16.25.0/24 subnet, Those wifi aps always have the ip 192.168.3.250. I created a local ssh port forwarding on a reachable ...
0
votes
0answers
43 views

tunnel socks to multiple vps

My personal OS is windows 10 I have 2 VPS (centos) I don't have access to VPS B directly I have access to VPS A and VPS A has access to VPS B Goal : use VPS B as socks in my personal computer (...
0
votes
0answers
36 views

SSH connection keeps dropping between two specific sites

I have a number of remote systems all connected together using a series of tunnels and forwarded ports, facilitated by AutoSSH. However one particular system hosted in data centre 1 keeps briefly ...
0
votes
0answers
40 views

How can I allow my proxy server's destination to be itself? [duplicate]

I'm trying to setup ssh over https using apache and proxytunnel on Ubuntu 18.04, but I want the proxy server to be the same as the ssh server. I have apache going, and from netstat and the output of ...
0
votes
0answers
107 views

How to use sshuttle to connect to an aws service via two hops?

I have following situation: Host A: My Machine Host B: AWS Bastion Host Host C: EC2 instance in a AWS VPC with a private IP only Host D: AWS Elasticsearch Service, accessible only from Host C via ...
1
vote
1answer
900 views

How to connect to remote mongoDB via ssh (via Sacred)? connection refused

I have two computers: Ubuntu1 and Ubuntu2. Ubuntu1 runs MongoDB with database Sacred3. I want to run connect from U2 to U1 via ssh and store there my experiment results. What I tried and failed: 1. ...
1
vote
1answer
244 views

SSH agent forwarding is not working when SVN+SSH

I'm trying to automate the deployment of an SVN repository (with a web app) over multiple production servers, without installing any private key on the servers. The SVN server is hosted on srv3, and ...
0
votes
1answer
253 views

phpMyAdmin tunnel to mySQL

How can I connect local phpMyAdmin via SSH tunnel to a remote mySQL dockerized container (example.com)? This is the local phpMyadmin in docker compose: pma: image: phpmyadmin/phpmyadmin ...

1
2 3 4 5
15