0
votes
2answers
36 views

Port Forwarding a Specific Port (e.g. 22)

I'm still confused about establishing an SSH connection (port 22) between two computers on different internal networks. For example: I am on my computer with internal IP address IIP-1, connected to ...
1
vote
1answer
45 views

Accessing a server that is accessible to one computer from another computer

So basically I have a computer, let's call it 'X'. This computer has a standard Internet connection, via which it connects to a VPN, using CheckPoint VPN. When it's connected to the VPN (and only ...
0
votes
1answer
61 views

Create a local SSH server (or proxy) for connection tunneling behind a proxy with authentication?

OS is Windows (any flavor, I can adapt). I'm having an issue where I need to connect to imap.google.com (and other services) and it only accepts port 995. If I try to connect normally, it timeouts. ...
2
votes
0answers
131 views

How to forward ports through ssh and nat to another machine

I have a problem when using ssh port forwarding and nat simoultaneously. Situation: Machine A runs a webserver on port 8080 Machine B is a raspberry pi which works like a little router. It has two ...
0
votes
0answers
18 views

Creating a three-hop ssh tunnel that php can use

I have read so many posts on this subject but I cannot get this right, mainly because most posts mention only two hops. I have a local php instance that needs to connect to an Oracle database like ...
1
vote
1answer
151 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 ...
2
votes
0answers
237 views

SSH tunnel opened with autossh closes every few days

I keep an ssh tunnel open with autoSSH. Every few days the tunnel seems to sporadically close. I do a ps -ef | grep autoSSH, and autoSSH is still running. Occasionally autoSSH will output ...
0
votes
1answer
424 views

How does ssh -A work when both target machine alread has its own .ssh/id_rsa.pub files?

This is a generic question, of how to diagnose the error in the following SSH login trace. However, I've pasted specific details to exemplify the problem. The main problem statement: When using ...
1
vote
1answer
283 views

SSH Proxy : web requests not forwarded?

I have been trying to connect to the Web through an ssh tunnel but without success... Mi test is pretty simple : I've got two computers behind my router(with the internet access). Computer 1 : ...
3
votes
1answer
68 views

SSH configuration forwarding

Is there a way/option/wrapper for ssh that will permit not only agent-forwarding but also configuration forwarding? For instance, consider a workstation and a server. The workstation ~/.ssh/config ...
0
votes
1answer
988 views

Connecting VirtualBox to LAN

My host computer is OS X Snow Leopard and is connected to the network via Ethernet. The guest virtual machine is Ubuntu 12.04 My goal is for my virtual machine to behave like any other machine on the ...
0
votes
1answer
175 views

What ssh command would I use to set up “backwards listening”

Machine A is behind a firewall. I have physical access to it, but I want to log into it remotely, and I do not have access to the firewall settings. Machine B is remote, and not behind any firewall. ...
1
vote
1answer
619 views

chaining ssh tcp port forwarding

I need to connect to a DB server which accepts connections on port 1521, I can only access this from a remote machine which I need to ssh in to through another gateway. ie from home home $ ssh ...
2
votes
1answer
40 views

Is there aSSH Remote Fowarding source restriction?

The following command will allow me to view Google.com on localhost:9999 ssh user@mywebsite -R localhost:9999:www.google.com:80 but the following command will not allow me to view Google.com on ...
2
votes
4answers
11k views

Xauth/X11 ssh forwarding problem

When logging in with ssh -Y remotehost I get the following error message: /usr/bin/xauth: /home/hlovdal/.Xauthority not writable, changes will be ignored And xclock and similar fails to ...
2
votes
1answer
2k views

Hostmonster Subdomain redirected to home server IP: How to ssh into home server using subdomain

I setup a home server to play with. Instead of remembering the IP address, I created a subdomain on my hostmonster personal website (http://subdomain.domainname.com) and redirected it to point at my ...
1
vote
2answers
1k views

Accessing Internal Server from Outside through SSH

The issue is as follows: I am using Ubuntu Linux. I am working from home, and I need to access a PostgreSQL database severer within my company's network. Call the DB server X. For security reasons, ...
13
votes
2answers
20k views

Extra configuration required for ssh-agent forwarding?

This guide does a great job explaining how ssh-agent works across multiple systems. I'd like to get forwarding set up as it is in the last set of diagrams, but I'm having trouble tracking down the ...
2
votes
2answers
1k views

Using local programs on remote ssh session

Quite often when I’m accessing a remote shell via ssh, I’d like to have a look at some files not only with the remote computer’s vi but maybe with my own MacVim or some other program. Not necessarily ...
0
votes
2answers
432 views

How can I find the TCP fordwarding port on a shell account?

cjb.net offers anonymous surfing through SSH. I connect via PuTTY. However, I typically know on which port my proxy service (squid, polipo, etc) is running. I think I need this port to configure the ...
3
votes
3answers
1k views

ssh X11 forwarding issue

I have put ForwardX11 in my ~/.ssh/config and then I start a X11 application like this: ssh -f user@host 'someapp; sleep 1' This works fine. The application someapp has a button which opens a ...