0
votes
1answer
20 views

Restrict access to port forwarding in ssh

Is there a way to restrict access a local port I opened so that only one IP or a range of IPs could access? Example: ssh IP -L 0.0.0.0:25:DESTINATION:25 I opened my local port 25 to another place, ...
0
votes
2answers
41 views

What is the simplest way to download with wget in remote putty terminal using my local windows internet connection

I'd like to initate a download using wget in a remote putty terminal (i.e. an ubuntu server), but using my local windows internet connection. I guess there is two way to achieve this: run an HTTP ...
0
votes
0answers
22 views

How to configure SSH tunnel with same intermediate/end server?

I have read this question on SuperUser and the SSH section of the Debian handbook, and I am trying to do something similar. But there is a slight complication in that I really only have two servers in ...
0
votes
1answer
124 views

SSH tunnel through two servers to access a web service on port 9091

what I have is a "phone-home" service running at remote1 that connects to LAN1 via: ssh -N -R 16864:localhost:22 <myuser.on.lan1>@<lan1.ip> so from the SSH terminal on LAN1 I can easily ...
0
votes
1answer
25 views

ssh tunneling on multi systems

I would like to ssh-forward id_rsa keys from localhost through server 1 to server 2 On the localhost computer I have the id_rsa keys which get added to ssh-agent for forwarding to a remote server. ...
0
votes
1answer
51 views

Linux Bash SSH - Why won't my port forwarding tunnel command work?

The commands I'm trying are: ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server Where the "x" is masked for security as is the hostname and server, ...
0
votes
0answers
31 views

Debugging through VPN on a VM

My laptop runs Windows 7. I run various Virtual Machines to encapsulate my VPN connectivity and keep client environments separate as much as is convenient. In this case, the virtual machine is Ubuntu ...
2
votes
0answers
53 views

DNS tunneling through an SSH connection looses connectivity

In the article 'UDP traffic through SSH tunnel', it is described how to tunnel DNS trough a SSH tunnel: client# ssh -N -L 6667:localhost:6667 user@server server# mkfifo /tmp/fifo server# nc -k -l ...
0
votes
1answer
41 views

ssh tunnel not working for external addresses

I am at a client site and they block some addresses so I am trying to use ssh to tunnel through my company's server. The tunnel works for intranet sites, but it fails but failing for pubic sites. ...
1
vote
1answer
167 views

Disable SSH remote tunneling

I need to restrict SSH tunnel functions. Users should not be allowed to create remote tunnels but only tunnels to localhost. I tried to setup the whole thing in the SSH configuration but I can only ...
0
votes
1answer
215 views

How to move the remote x-window over SSH X tunnel, back to the remote linux host

Am connecting from my Linux (Mint) desktop to the Fedora (rpfr18) Raspberry Pi using SSH X tunneling. When the Pi comes up, I connect to it from the desktop xterminal using: SSH -X ...
1
vote
1answer
404 views

Internet access to host behind firewall using ssh tunnel

My goal is to give host behind firewall access to the internet. Below you can find brief description of network [internet] <-> [proxy] <-> [A] <-> (firewall) <-> [B] [A] - ...
0
votes
2answers
692 views

Finding why a ssh tunnel is not working

I have a remote server that I can SSH into no problem. I have PostgreSQL (ps) set up on the remote server (called 'enc') and local machine, both running on 5432 (the default). The remote server does ...
8
votes
4answers
2k views

Finding IP or hostname of origin machine (ssh)

I connect to a number of machines constantly, from different physical locations (and thus different physical machines). Most of this is done though ssh, sometimes a gateway machine or two is required ...
1
vote
2answers
306 views

A way of accessing a remote linux server via SSH anonymously and running a graphic web browser?

I need a way of connecting to a remote server anonymously and running (with further possibility of visual manipulation) a graphical Web Browser (not text-based) - Tor has been chosen for this and ...
0
votes
2answers
509 views

Transparent SSH Multi-Hop - Access to network without using shell (Shared connection)

I have a quick question. Apologies if this has been posted already, but I have searched and can't seem to find what I am looking for. I have a localhost , Host 1 and Host 2. The Host 2 machine has ...
6
votes
2answers
354 views

How to connect to a SSH session that was backgrounded with -f -N?

I'm doing some work where I need to pivot off a machine using proxychains so I'm connecting to a system and binding a local port like so... ssh -f -N -D 9000 user@host.com … which returns me back ...
2
votes
1answer
1k views

SSH Tunnel for Samba over SSH Proxy

So I am trying to do something that is relatively simply in theory but my use-case seems to be hard to find since most proxying I find on the internet is in regards to setting up a proxy for your ...
1
vote
0answers
387 views

Remote commands over SSH with Windows PowerShell - Protection against disconnection

I am planning to connect to remote Linux hosts via SSH and call scripts with Windows PowerShell SSH. As far as I understand, if the SSH connection is lost (timeout or connection reset) whilst the ...
8
votes
2answers
2k views

Setting up ssh config file with id_rsa through tunnel

I've been struggling to set up a valid configuration to open a connection with a second machine, passing through another one, and using an id_rsa (which requests me a password) to connect to the third ...
0
votes
1answer
134 views

Getting Ubuntu host's GUI on local machine when using X Window

I am tunneling X Window over ssh on my local OSX machine using XQuartz. Now the GUI of course looks different than what I would get when I start programs on ubuntu locally. Is there a way to make my ...
5
votes
3answers
440 views

Mount remote drive by port forwarding

I have a windows 7 computer at home and a remote windows XP machine with an external USB drive attached to it. I would like to be able to copy files to and from home/the remote USB drive. The problem ...
3
votes
4answers
1k views

How can I use SSH to tunnel to a port that's open on the machine I have access to but not open to the outside world?

I currently use SSH to tunnel my internet connection, using ssh -p <port> -ND <local port> <user>@<ip address>, and this works great. However, I'd like to bind a local port to ...
2
votes
1answer
850 views

Creating a ssh tunnel to transfer files?

For me, networks are a very "opaque" thing, and even with reading a lot of tutorial about SSH, I do not understand how to create a basic tunnel to transfer my files. The configuration is the ...
3
votes
2answers
1k views

Using WinSCP with SSH server and 2 machine hops

I'm on a windows machine using putty to ssh into my schools server. From there I need to "slogin -XY machine1" and then "slogin -XY machine2" . Ideally, I'd like to use WinSCP to connect and ...
0
votes
1answer
561 views

“noshell” for ssh proxy users

I like to setup a special ssh user which is only allowed to tunnel web traffice through my server. I do not want to make an open proxy. This brings me to my question: Is there a "noshell" shell for ...
1
vote
1answer
1k views

ssh tunnel via specific interface

Client -ssh-> Server --> Internet Normally I initiate an ssh tunnel with: ssh -D 1337 admin@nas On the server I have two interfaces: eth1 and ppp0. Right now it uses eth1 when tunneling, but ...
1
vote
1answer
713 views

Running into errors reattaching to a GNU screen session that tunnels X over SHH

After tunneling X over an SSH connection using screen on the remote, how can I reattach the screen session from another machine and tunnel X to that other machine? I either get "cannot open display" ...
0
votes
2answers
130 views

How can I `ssh -X host` into a Windows 7 machine and have Windows apps open in Gnome?

How can I ssh -X host into a Windows 7 machine and have Windows apps open in Gnome like they would if I were ssh'ing into another Linux machine?
1
vote
1answer
237 views

Limit URL's accessible over a SSH Tunnel

I have a server and I want to offer a tunnel through this server to some of my friends. But I want to limit the sites they can access using this tunnel. My plan was to create a user account without ...
8
votes
2answers
2k views

Dropped ssh/X session, how to pickup where left off?

I am VPN from a Linux box to another. I log in to the other box with ssh -X. I open an X window/program in an attempt to do a software installation. The painful truth is that this software cannot be ...
1
vote
1answer
488 views

SSH tunnel connection refused

I have a remote machine (IP XX.XX.XX.XX) which runs an app written in python/cherrypy which opens a port for http connections on the loopback interface. If I login into the remote machine (using ssh) ...
1
vote
1answer
1k views

Tunnelling from one SSH connection into another one

I have a machine called ic that I can ssh to. There is another machine, fw, that is on a completely different VLAN, and I cannot talk to it. ic is on both my VLAN and the VLAN that fw uses, and so my ...
5
votes
2answers
2k views

Why is my connection via ssh tunneling much slower than other connections to a remote machine?

I rented a small Linux box with an intention to use it as a proxy for netflix etc. When I ssh and run wget my speeds are like 20Mb/s but when I connect with putty and go to speedtest I only get ...
0
votes
2answers
419 views

Does availability of outbound SSH connection means SSH tunnel possible?

At work, my company has lately gone crazy and has started blocking all the sites (Almost all, facebook, gtalk, picasa, hotmail, gmail etc etc). But, I have observed that they allow any outbound SSH ...
15
votes
5answers
10k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...