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

learn more… | top users | synonyms

5
votes
1answer
141 views

Secure access to remote SSH tunnel

So I wish to be able to access my Raspberry Pi (which I keep at home behind a firewall) remotely. One option is to use a static IP address, but as a poor student I don't want to fork out for one, and ...
3
votes
1answer
484 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 ...
0
votes
1answer
144 views

General Setup on remote programming

I have the following 3 units A laptop that runs both MAC/Ubuntu A home-based server with Ubuntu desktop version A wireless router which I got from the provider that does not have that much ...
1
vote
0answers
92 views

ssh local tunnel to VM

So, can anyone explain why this doesn't work? Everything from remote host (192.168.1.3): ssh -L 9000:192.168.1.2:80 login@192.168.1.2 elinks http:127.0.0.1:9000 and I can see a web page. other ...
1
vote
2answers
128 views

Reverse socks5 using SSH

Setup: Server is a virtual machine Server have a local ip adress Server is restricted so that it can't reach the internet (not sure how) Client machine have access to both server via SSH Client ...
6
votes
2answers
2k 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 ...
3
votes
2answers
231 views

SSH through router to internal file server

This is a real beginner question, I know. But I really don't seem to be able to wrap my head around the terminology to get what I want working. And since I want to do this on a router that 40-50 ...
5
votes
2answers
565 views

How do I configure ssh tunneling past a firewall?

I have a NAS running Linux behind a firewall at home. I want to access it remotely using a few services such as a Transmission GUI (port 9091) and webmin (port 10000), but through an SSH tunnel on ...
0
votes
0answers
29 views

SSH tunneling via few hosts [duplicate]

That question is'n only about Unix/Linux - but contain something... So - given: host1 with TeamCity server running on 8111 port; host2 which will be "ssh-proxy" between client and host1. From host1 ...
4
votes
2answers
2k views

SSH: tunnel without shell on ssh server

I have to set up a tunnel between two hosts. For this i use ssh in this way: ssh -L MY_LOCAL_PORT:FOREIGN_ADDRESS:FOREIGN_PORT MYUSER@SSH_SERVER after that, I login into my SSH_SERVER. How can I ...
1
vote
1answer
467 views

ssh (remote console) between 2 computers from different private networks

I have two computers. Both of them are from different private networks. I'd like to connect from one of them to another (to program on it remotely). I attempted to use some remote desktop software ...
1
vote
0answers
148 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
1
vote
1answer
232 views

Reverse connection to SSH server [duplicate]

Machine A is connected to the internet and is behind firewall so it cannot receive incoming connections. Machine B is open to the internet. I want to be able to type commands into B and have them ...
1
vote
2answers
1k views

Specifying outgoing interface for SSH tunnel

I have a machine with two public IP addresses on two interfaces. This machine is running sshd. Is there a way to specify, when creating a tunnel with a SOCKS interface (i.e. -D), which interface to ...
0
votes
1answer
64 views

How to forward port after tunneling

Today I have read this question and answer (How does reverse SSH tunneling work?). I tried it out and it worked perfectly however I want to know one thing. Say I have a web server running on port 8000 ...
4
votes
2answers
528 views

how to ssh -Y and then su - <another user> and still forward X applications to your local machine

it is easy enough to 'fetch' (ie draw locally) a remotely running linux application: If I ssh -Y to the remote machine and run an application, that application will surely enough pop up in my local ...
2
votes
2answers
290 views

ssh reverse tunneling not working

So, I have a server and a home machine. My server can't talk to internet, but my home machine can. So, I set up a reverse tunnel through home to server using: ssh -R 9001:www.google.com:80 server ...
3
votes
1answer
1k views

I need to RDP to a server through a reverse tunnel

I have a windows PC that is on network A and a windows PC on network B. Also in network B I have several Linux servers. From the PC on network A, I can ssh to any server on network B. I cannot, ...
4
votes
3answers
1k views

ssh to private-ip

I have a computer with CentOS (computer A) that configured as has an private ip 10.150.5.141 (with restricted firewall), can access internet and my ArchLinux VPS (computer B) with real ip w.x.y.z How ...
2
votes
2answers
7k views

sshd_config MaxSessions parameter

I have problem with "MaxSessions" parameter in sshd. I would like to restrict number of sessions via one ssh connection. For example for tcp forwarding. When I set MaxSessions to 0, logons are not ...
5
votes
2answers
6k views

What do the channel numbers in ssh error message refer to?

In the example below what do the channel numbers correspond to? Which are on the server? Which are on the client? $ ssh -L1570:127.0.0.1:8899 root@thehost Password: Last login: Fri Aug 9 ...
0
votes
1answer
150 views

SSH reverse tunnel works except when I use a VirtualBox instance at one end. Why does VB break SSH?

VirtualBox seems to break my SSH ProxyCommand... here are the details: I want to open an SSH connection from my laptop to desktop over an SSH (reverse) tunnel. I want to do that in one step using ...
1
vote
2answers
614 views

How to bring back SSH session that was started with the -f option (run in background)

I'm pretty lost on this. From the man page: -f Requests ssh to go to background just before command execution. After starting SSH with the -f option, I have a working tunnel. But after I ...
1
vote
1answer
491 views

Multiple SSH tunnels (local and remote forwarding) over one master OpenSSH connection? Good idea?

The question Using an already established SSH channel has an answer that intrigued me. It suggests that I can reuse an existing SSH connection. However, after further reading, I see that this solution ...
2
votes
1answer
194 views

Establishing client VNC connection over SSH in one step (e.g., with the -via option)

How do I reduce these two commands to one? I am connecting from my client to an x11vnc server and the two commands below already work. I just wish to do it in one step: first command: ssh -fNL ...
2
votes
4answers
967 views

rsync over ssh tunnel

---------- /| /| ------------ | Home | | | | | | Work | | |--------| |---------------------| ...
1
vote
2answers
149 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
3
votes
1answer
956 views

How to parameterize the LocalForward option in ssh_config?

I'm starting with this fully working ssh command: $ ssh -fNL 3306:localhost:3306 coolio@database.example.com This config gets me part of the simplification I am after: Host tunnel HostName ...
1
vote
1answer
448 views

SFTP over reverse SSH tunnel?

I want to SFTP to a remote computer that is behind NAT. I can't modify the NAT router, so I have set up a reverse SSH tunnel using a middleman server. Here's what my SSH tunnel looks like: ...
6
votes
1answer
2k views

Remote desktop over SSH reverse tunnel to replace TeamViewer

I want to open a remote desktop session from my laptop to desktop over my SSH (reverse) tunnel. That should be simple (or at least doable), right? Until now I've been using Team Viewer to log in to ...
1
vote
1answer
219 views

How to restrict an SSH tunnel to a certain outbound IP address on an SSH server?

I hope I'm phrasing this question correctly. I have a SSH server that I use for testing that has 2 internet connections running on it. The LAN connection is always on, but the USB connection is on ...
1
vote
1answer
309 views

Remote support: routing RDP over ssh tunnel?

I want to replace TeamViewer with a FOSS solution. I need to support some remote computers. I have a working SSH tunnel set up between two computers using a middleman server like this: ...
3
votes
2answers
540 views

SSH tunnel through middleman server - how to connect in one step (using key pair)?

My question is basically how to turn my existing two steps into one step. I have a working SSH tunnel set up between two computers using a middleman server like this: ...
0
votes
1answer
1k views

Remote desktop (KDE) over SSH reverse tunnel

I have a reverse ssh tunnel through a middleman server set up and working. I'm running Kubuntu 12.04 here and on the remote machine. I want to open a remote desktop session. Until now I've been ...
1
vote
0answers
188 views

Disable SSH Tunnel with KVM VNC Server

Here at work we've set up a KVM server that hosts a couple guest machines. The KVM itself is headless and we remote into whenever needed, but we would like to be able to VNC into the guests. I have ...
2
votes
1answer
218 views

What are the key differences between “SSH tunnels” and “Squid reverse IPs” in regards to web page scraping and private browsing?

What are the key differences between "SSH tunnels" and "Squid reverse IPs" in regards to web page scraping and private browsing? Interested to know if there are any differences between using "SSH ...
7
votes
1answer
1k views

Forward all ports SSH

I have a question about SSH/Port forwarding. I haven't found the solution anywhere and don't know if there is any. I have a server behind my NAT box at home. I have port forwarding from my NAT box to ...
4
votes
1answer
742 views

My reverse-ssh tunnel is using keepalives but they're not helping

I have an ssh client machine picard behind multiple unreliable internet connections - all with NAT. I have my server time, reliable with a static IP. I want to be able to access picard thorugh time. ...
4
votes
1answer
742 views

Why wget does not work via ssh tunnel? What does proxy prevent ssh-client to do?

To test things I'm trying to establish a local ssh tunnel from my laptop to a site via ssh-server, and download a page of the site (or view it in a browser). The tunnel is made like this: $ ssh -L ...
6
votes
1answer
3k views

SSH over Socks proxy without username or password

I have a list of SOCKS proxy servers from this site. I've read about creating a dynamic tunnels with ssh -D and to be honest i've tried that already. Unfortunately for some reason I cannot connect to ...
0
votes
0answers
139 views

Xdebug not working over a reverse shell

I've opened a reverse shell to my remote server to tunnel port 9000 to my local machine like this ssh -R 9000:localhost:9000 you@remote-php-web-server.com but but it doesn't work. The reverse shell ...
2
votes
1answer
454 views

Double SSH tunnelling for SMB shared folder

I am actually working from PC1 (using Mac OSX) on a distant computer(Linux) PC2 using SSH. This distant computer PC2 does not have any connection to Internet but is in a network with a PC3 (Windows ...
3
votes
2answers
169 views

Grant ssh access for single session

I wonder if there is a tool/modified ssh-server/ssh option which enables me to grant ssh access for a single session to a given user. What I want to avoid is creating a user account and password for ...
3
votes
1answer
1k views

SSH via Corkscrew to a remote server not working

I am trying to SSH to a remote server from my college network (proxy). However, I am getting this error whenever I try to SSH to the host ssh_exchange_identification: Connection closed by remote host ...
5
votes
4answers
2k views

SSH tunnel hanging

I'm trying to use an SSH tunnel from home to a computer in the university so I can access some articles. Both machines are running Ubuntu 11.04, the university machine runs openssh-server. I my ...
3
votes
1answer
299 views

Tunnel AFP over SSH over Internet

I can't seem to figure out how to connect to AFP over SSH. Here is my setup: [Raspberry Pi] <---> [router] <---> (Internet) <---> [Client] I'd like to be able to connect to my ...
2
votes
1answer
445 views

Is there anyway to run gnome desktop via a remote x window ssh tunnel?

I'd like to run the DE remotely in a window of it's own on my local workstation. When I tried the naive gnome-session from an x-window tunnel it tried to takeover my local xfce desktop, got as far as ...
6
votes
3answers
2k views

Are there disadvantages in SSH tunneling?

I recently "bought" a VPS that I want to use as a Proxy to be able to use some sites and stuff that I can't reach from germany. Since I was yet too lazy to set up Squid and OpenVPN (which I ...
0
votes
1answer
149 views

Using ssh_alias with ssh tunneling

I am using ssh tunneling to login to system behind gateway. Problem is that I have ssh_alias defined in ~/.ssh/config on gateway server. Where I have key and ip setup. But those alias don't work ...
2
votes
3answers
919 views

Is there a way to have regular expression in ~/.ssh/config

I have two set of server. Test on production. All server have internal ip. currently I am using alias to login: Host pro-10 Hostname 192.168.1.10 ProxyCommand ssh production-server nc %h %p For ...