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

learn more… | top users | synonyms

-1
votes
0answers
29 views

SSH Tunnel between two VPNs [migrated]

I have an ssh tunnel from my home router (R) to a VPN (A). Can I setup another tunnel from another VPN (B) to my home router (R) in a way that traffic from VPN A to VPN B will be tunneled? I'm looking ...
0
votes
2answers
111 views

How do know if I can SSH in servers?

I have over 200 servers, but is hard to keep tracking all of them by some documents, after a while it gets outdated, so to refresh this document, I have to know which servers I can login via SSH. I ...
0
votes
1answer
18 views

Autossh error with upstart script: ssh exited prematurely with status 0

I have set up the following upstart script on my raspbmc: # autossh description "autossh connections" start on started dbus stop on (runlevel [06] or stopped dbus) respawn respawn limit 5 60 # ...
0
votes
1answer
33 views

Virtmanager connection via custom SSH command?

I'd like to use virt-manager to manage my libvirt/kvm virtual machines running on a remote host, but the method I use to ssh into that host it a bit complicated. I need to use custom ports along with ...
0
votes
2answers
31 views

How to connect to one SSH server via another

I have A and B SSH servers, I could connect to B from everywhere, but to A I can connect from B only. To achieve it usually I connect to B and then type ssh username@A. How could I connect to A via B ...
0
votes
1answer
64 views

Can I ssh tunnel and reverse ssh tunnel in one connection?

I am currently using .ssh/config to store my office's network: Host office Hostname office.company.com Port 22222 User hobbes3 To connect to a remote office Postgres database, I need to ...
1
vote
2answers
64 views

Windows Jump Host

A Jump Host is a special purpose computer on a network typically used to manage devices in a separate DMZ. So, I'm looking for the proper way to implement this for a target running on Windows. I was ...
-6
votes
0answers
30 views

Command to check tunnel is alive or not? [closed]

I used this two commands but not got any idea. COMMAND="ssh -p $SSH_PORT -q -N -R $REMOTE_HOST:$REMOTE_HTTP_PORT:localhost:80 $USER_NAME@$REMOTE_HOST" pgrep -f -x "$COMMAND" > /dev/null ...
1
vote
1answer
46 views

SSH tunnel to allow ssh traffic: connection always refused

I have access to two servers at work. Server A hosts git repositories and is externally visible. I would like to be able to clone a repository into Server B which is hosted on Server A. Currently, I ...
1
vote
1answer
37 views

SSH access a remote server through 2 other servers

I would like to keep checking a log file(named myapp.log) located on a remote web server & keep the up-to-date content of this file showing to me (by using the linux command tail -f myapp.log). ...
0
votes
1answer
45 views

SSH tunnel to a postgres database [closed]

Currently I develop on a remote dev server. I SSH into the dev server (using SSH keys) as ssh -p 22222 user@devbox.com Then from the dev server, I connect to the database over the local network ...
1
vote
2answers
44 views

Logging all ssh tunnel data

Having an SSH server through which multiple users tunnel all the traffic, how can I log (write) all the traffic (mostly interested in unencrypted HTTP one)? UPD: not all traffic should be logged, ...
0
votes
1answer
63 views

Web proxy with SSH Tunnel to Ubuntu 12.04 with Putty is refusing connections

I'm trying to set up a SSH tunnel via Putty so I can access my router admin pages. I have an ubuntu 12.04 machine on the local network with SSH access. I can SSH into that ubuntu box (that sits on ...
0
votes
0answers
14 views

SSH Connection, Tunneling and Shell Access [duplicate]

It is possible that I might misuse a term while asking this question; I ask for your patience. At work, a colleague set me up with a program called plink.exe so that I can connect to an SSH server ...
1
vote
2answers
102 views

How to connect remote windows machine from linux terminal?

I want to execute windows command on remote windows machine from linux terminal.
0
votes
1answer
30 views

Retain agent-forwarding in sudo

I want to be able to connect to a server, start a sudo shell, then use agent forwarding to connect to another server (in order to use SCP to copy files to a protected area). But: ...
0
votes
1answer
79 views

SSH Through Reverse Proxy

Ok I have an odd but hopefully simple one. I have looked up SSH Tunneling already and I am familiar with the "ssh -r" command. But this situation is different. Here's the setup. I have 1 gateway ...
0
votes
1answer
49 views

SSH Tunnel can't connect - connection times out, even though regular login works

I am trying to set up an SSH tunnel with a SOCKS proxy in Firefox, so I can surf the internet securely from public wifi. Both client and server are running Ubuntu 12.04 LTS. After setting up port ...
2
votes
3answers
62 views

How to restrict ssh tunnel authority to a certain port?

I have a program running on remote server port 9999. As it don't support any kind of encryption and auth, I'm using the ssh tunnel to access to it. This is the command I am using: ssh -L ...
0
votes
1answer
62 views

ssh_exchange_identification: Connection closed by remote host remote desktop

I'm trying to connect to my work server using my macbook. in the morning it was working and now its not. This is what im doing ssh -vv muhammad@man.softwarehouse.com -L 1024:bolton:3389 This is ...
0
votes
1answer
59 views

Running cronjobs with proxy

I have a requirement where I have to run several cron jobs with specific IP in an EC2 instance. That specific IP is used by another EC2 instance. I have access to that EC2 instance. Is there any ...
0
votes
1answer
139 views

X11 forwarding over ssh applications very slow to start

I have a server that is extremely slow (takes 3-5 minutes) at starting X11 applications over a forwarded X11 link. I have tried connecting to it with 2-3 different machines with different operating ...
0
votes
1answer
25 views

ssh login using public/private key exchange authorized_keys not working?

I am trying to login from one ubuntu box to another using public/private keys with ssh, but it is not working.. OMD[live]:~/.ssh$ ssh -l myuser -v -i /test/sites/live/.ssh/id.rsa.myuser ...
0
votes
3answers
72 views

SSH bounce box with transparent forwarding to backend hosts

First, is such a thing possible? Consider the following setup: One public facing "SSH Bounce Box" bouncer.mydomain.tld Four private *nix systems host1.mynet.local host2.mynet.local ...
-1
votes
2answers
82 views

Accessing a host's SSH tunnel from a guest VM in VMWare Fusion [closed]

I have VMWare Fusion running on my OS X host and I have a Windows 8 Pro guest VM running. On my host I have an SSH tunnel open on port 1010. The SSH tunnels works great from OS X Safari once I set the ...
3
votes
0answers
82 views

TCP tunning for ssh port forwarding [closed]

I am using an ubuntu openssh server to allow users to connect to and do dynamic port forwarding. the performance is good until about 100 users are connected. beyond that the performance is dropped too ...
1
vote
0answers
118 views

SVN through a port-forwarded Tunnel “Network Connection Closed Unexpectedly”

I work in an organization with (unnecessarily) stringent security requirements. Last year, we set up an SVN server on a cloud machine. The requirements for this machine dictated that the only approved ...
1
vote
1answer
186 views

How to use compression option for ssh with the ProxyCommand?

I want to establish a ssh tunnel for transferring data from my computer to a remote machine through a gateway machine. I want to copy large amount of data, thus I use blowfish for encryption and ...
7
votes
4answers
203 views

Securing NFS against SSH tunneling

I was idly reading http://nfs.sourceforge.net/nfs-howto/ar01s06.html trying to understand why localhost exports were bad when I got to the section "6.4. Tunneling NFS Through SSH". Everything in that ...
0
votes
1answer
63 views

How can I access a local-area LDAP through a VPN?

I need access to an LDAP server hosted on a private network from the outside. I have been given a VPN account but that account has no direct access to the LDAP server. (for security reasons, they ...
0
votes
1answer
45 views

ssh tuneling of blocked port (mmx)?

My iptables block everything except several ports like 80, 22, etc. It's running my java servlet. I need to connect to that servlet using jconsole. I don't want to allow external connections for jmx ...
-1
votes
1answer
75 views

Tunneling specific webserver port on localhost using SSH

It is possible allow website surfing running on a specific port (10000) only accessing it trough SSH tunnel? Real case: Apache is running on port 80 for http and 443 for https, anyone can surf all ...
0
votes
2answers
63 views

Web server intermediary for public key authentication

My home network is currently sitting behind a DD-WRT router that I can access using public key authentication. Whenever I need to access something from my home network I can simply create an SSH ...
0
votes
1answer
125 views

Tunneling my internet connection through a remote server with SSH [duplicate]

I'm based in the UK and would like to proxy my browser traffic through a CentOS server I have set up in the US. From what I've gathered through Google if I execute a command like this on my server: ...
0
votes
1answer
100 views

`ssh -NfR` equivalent with dropbear

I want to open a reverse tunnel in background. When using OpenSSH ssh -NfR 9022:127.0.0.1:22 <target> always worked. When I did that with dropbear on my router, it failed like this: # ssh -NfR ...
0
votes
1answer
149 views

strange output on ssh tunneling: output failed; connect failed: Connection timed out;

I use ssh user@xx.yy.zz.41 -p 1234 -D 9898 command for tunneling, and I set firefox socks5 ip to 127.0.0.1 and its port to 9898. It works successfully ,but in terminal I have error in output: ...
1
vote
1answer
58 views

Unable to connect through SSH tunnel

I'm trying to tunnel into a remote server for the purposes of debugging(so I could get a more specific error message rather than internal server error 500), and I was looking at the question: ...
0
votes
1answer
38 views

Reverse ssh tunnel: connexion refused

I'm trying to setup a reverse ssh tunnel as follows: A ==========> B <----X---- C I'm initiating the tunnel from A with: ssh -p 443 -NR 19001:localhost:21 userOnB@B On computer B I can use ...
1
vote
1answer
126 views

How to set up a server for reverse SSH tunneling that can be used by multiple users?

Sorry for the wall of text, I'm a bit of a newbie but have exhausted my search resources. In order to establish a public IP for my local Django development server, I set up an AWS micro instance as a ...
3
votes
2answers
91 views

Redirecting SSH through a machine

I'm looking for the simplest way to SSH from my local machine to a remote server through a server in the middle. If there's a permanent way to do this even better.
1
vote
1answer
450 views

SSH tunneling with Synology

I try to tunnel SMB and AFP services through SSH to acces my NAS shares on my machine. I already do it successfully with my ReadyNAS using the following command line (ran as my user on my mac) : ssh ...
0
votes
2answers
124 views

check nfs over ssh is mounted

I have forward remote nfs port in local machine through ssh tunnel(forwarding 2 ports), using autossh for make persistent connection: root@remote.machine:~#autossh -v -M 0 -q -f -N -o ...
0
votes
0answers
87 views

ssh reverse port forwarding inside NAT

I'm trying to simulate reverse ssh tunneling (both inside NAT) using: Ubuntu(host) 192.168.1.122 ubuntu virtualbox(bridge networking) 192.168.1.133 user1@192.168.1.122:$ ssh -nN -R ...
1
vote
1answer
70 views

Machine with multiple networks/gateways. SSH through different network from global default GW

I have a wired connection with IP/subnet/default gw. I also have a wireless connection with IP/subnet/default gw. The default gw of the machine (route -n) is the wired default gw. But I can only ...
2
votes
1answer
512 views

ssh tunnel error “ssh_exchange_identification: Connection closed by remote host”

I'm trying to use an ssh tunnel from my office machine to my home machine, and get an error when I try to use it. What I'm doing is starting one shell like so: ssh -gL 12345:my.home.domain:22 ...
0
votes
1answer
188 views

Log and analyze web traffic passing through SSH SOCKS proxy

I've got a cheap VPS running Ubuntu 12.04 that I sometimes proxy web traffic through via SSH when I don't trust the network I'm on. I'd like to have a closer look at some of that traffic on occasion. ...
4
votes
2answers
123 views

How to link multiple SSH tunnels together in Linux

I have the following situation: A -----|------ B -----|------ Work Work can SSH into B, and A can SSH into B, but apart from that everything is firewalled. What I would like to do is in effect ...
0
votes
0answers
29 views

SVN and tunneling

My machine svn1 sits inside a firewall on my network and hosts my svn server, I have a gateway machine gateway1 that allows me to ssh into my network from outside. When outside the network ...
0
votes
1answer
59 views

Redirect all ports to my server in a simple way

I have a server with SSH access (on port 22 and 443). My ISP block everything except ports 80 and 443. I there a simple way to make everything go to my server (via SSH) then return the response via ...
1
vote
1answer
448 views

How to force all packets go through ssh tunnel?

We have an SSH tunnel (ssh -ND 127.0.0.1:8080 user@example.com), that works fine for browsers if point them to 127.0.0.1:8080 as socks5 proxy, but other traffic is still not going through this tunnel. ...

1 2 3 4 5 6