An SSH tunnel provides an encrypted channel based on the SSH protocol.
0
votes
1answer
45 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 ...
2
votes
2answers
47 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 ...
1
vote
2answers
41 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
81 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, ...
3
votes
3answers
112 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
1answer
60 views
ssh tunnelling explanation
I have a question regarding ssh tunneling. I've read this article
http://www.popcornfarmer.com/2009/01/ssh-tunneling-tutorial/
I would like to make X forwarding work and run some X applications ...
1
vote
2answers
455 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
76 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
1answer
65 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 ...
1
vote
2answers
57 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 ...
2
votes
1answer
49 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
133 views
rsync over ssh tunnel
---------- /| /| ------------
| Home | | | | | | Work |
| |--------| |---------------------| ...
1
vote
2answers
61 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
126 views
How to parameterize the LocalForward option in ssh_config?
I'm starting with this fully working ssh command:
$ ssh -fNL 3306:localhost:3306 [email protected]
This config gets me part of the simplification I am after:
Host tunnel
HostName ...
1
vote
1answer
120 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:
...
1
vote
1answer
84 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 ...
4
votes
1answer
545 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 ...
2
votes
2answers
125 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:
...
1
vote
1answer
93 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:
...
1
vote
1answer
188 views
SSH tunneling through a busybox router
I have a busybox router and I'm able to login to the console using telnet & I also have access to the web interface.
My question is, how can I create an ssh tunnel from my local network through ...
0
votes
1answer
292 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 ...
2
votes
1answer
341 views
start autossh reverse tunnel automatically when network comes up
I connect from my home PC thru an Internet server I own to a restricted client (that I also own) using a reverse ssh tunnel.
I have a script that sets up the restricted client to middleman leg of ...
2
votes
1answer
169 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 ...
3
votes
1answer
203 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. ...
3
votes
1answer
365 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 ...
0
votes
1answer
134 views
How can I mount a remote sshfs directory of an publicly inaccessible server on my inaccessible client machine?
This is an extension of the question by @Andrei
How to mount remote SSHFS via intermediate machine? Tunneling?
I'm in the same situation that I want to mount a remote directory, however the ...
6
votes
1answer
355 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 ...
1
vote
0answers
121 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 ...
3
votes
2answers
107 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 ...
2
votes
1answer
325 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
...
0
votes
1answer
65 views
SSH -L Tunnel no longer working
Local machine running my scripts needs to access a remote server's DB.
Last week I could do, on the local machine
ssh -f -N -T -L1081:localhost:3306 ueser@remoteserver -p2222
on the local machine:
...
3
votes
1answer
233 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
195 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 ...
1
vote
2answers
400 views
Tunnelling VPN through SSH mac
I have a pptp VPN server set up on my Raspberry Pi at home, and it works really well, except when I'm stuck behind my college's firewall. I can SSH into it through commonly open firewall ports (443, ...
0
votes
1answer
121 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
406 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 ...
1
vote
2answers
309 views
Bypass sshd AllowTCPFowarding=no by installing own forwarder?
In the man pages for sshd_config, for the AllowTCPForwarding option, it states:
AllowTcpForwarding
Specifies whether TCP forwarding is permitted. The default is “yes”.
Note that disabling ...
4
votes
3answers
1k views
How to access a machine behind a restricted NAT gateway I don't manage?
I have a linux machine that I'd like to be able to access remotely for SSH, FTP, HTTP, and so forth. I signed up for Dynamic DNS with No-IP.com, but this isn't adequate because I am on a college ...
2
votes
2answers
549 views
Setup ssh tunnelling to browse using the IP of a computer inside a private network
I think my question is much easier to understand looking at the draw below. The idea is that for some reasons (such like accessing the intranet of my company, or getting access to some web pages that ...
3
votes
1answer
312 views
How to set up SSH on Ubuntu desktop and bind sub-domain to it for remote access outside network?
I am pretty to new to SSH and I have a question regarding access to my machine outside network.
I have a Linux machine sitting in my apartment running almost all the time and connect to the network ...
1
vote
0answers
201 views
creating secure tunnel with socat
How we can create secure multicast tunnels with socat?
Assume we have a list of IP addresses, CIDR network addresses that we want to create secure tunnel to.
I found this:
socat STDIO ...
1
vote
2answers
299 views
SSH tunnel to MySQL for PHP scripts
I need to establish an SSH tunnel so that my local PHP script can connect to a MySQL server on a remote server.
Remote machine: MySQL (127.0.0.1:3306) on Linux (SSH port 44422)
Local machine: Linux ...
2
votes
2answers
899 views
autossh in /etc/inittab
I have setup ssh tunnel to be able to connect a target computer behind NAT. I have put the following into /etc/inittab on the computer:
tu:2345:respawn:/usr/bin/autossh -M 20000 -f -n -N -T -R ...
10
votes
1answer
429 views
Understanding SSH tunnels
I have linux (Ubuntu) server which I have root access to through ssh (port 22) only. On that server there is a MySQL database listening on port 3306. Is it possible to use putty (on my machine) and ...
1
vote
1answer
322 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 ...
2
votes
1answer
298 views
create a tunnel to a local server
Using a VPN, I am connected through SSH on a distant Ubuntu Computer. From this computer, I can browse using telnet through a local server (192.168.x.x).
Is there any way, from the terminal or ...
1
vote
0answers
198 views
Reverse tunnelling with “stunnel” in linux
Scenario:
Central Log-Server(logserv)- only private IP interfaces
Multiple client servers (logclient)- has public IPs.
Requirement:
Need to tcp logs of syslog application from various logclients ...
2
votes
2answers
2k views
SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination
I got a great answer for my previous question about connecting from Machine A to Machine C via Socks proxy located on Machine B.
Say Machine B Ip is 218.62.97.105 and it is listening on port 1080
...
5
votes
1answer
2k 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
1answer
165 views
How to run svn when ssh over ssh?
I need to run sudo -u wwwrun sh -c 'svn status -uq /srv/www/htdocs/loquat' over ssh. When using one ssh it works smoothly. Now there is one server that needs to be connected through another server via ...