0
votes
0answers
29 views

Port forwarding through another router?

So I wanted to make my desktop a server for file transfer across globally (access it wherever I am). I've read a site with instructions using openssh-server I have a router that is provided from ...
7
votes
2answers
359 views

How to SSH on a port other than 22

I have two computers behind the same router. Let's call them A and B. A can SSH to B in the following manner: ssh usr@<internal ip of computer> B can SSH to A by doing the same, but the ...
1
vote
2answers
216 views

SSH from external network refused

I've installed open-ssh-server on my home computer(running Lubuntu 12.04.1) in order to connect to it from school. This is how I've set up the sshd_config file: # Package generated configuration file ...
0
votes
0answers
210 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R ...
1
vote
0answers
214 views

How to find out what is blocking a port

I have 3 machines: Machine A - local network Machine B - local network Machine C - external network Local network has a dynamic IP and Dyndns is set up to forward it. I have ssh on Machine B ...
4
votes
0answers
219 views

how do you configure ubuntu to run only with tor [closed]

I have a problem. I'm trying to port forward and get a similar error msg, I type this in:ssh -N -L 9050:10.0.2.2:9050 root@10.0.3.1 and then I get this msg:ssh: connect to host 10.0.3.1 port 22: No ...
2
votes
1answer
1k views

How do I set up an SSH SOCKS proxy with Gnome SSH Tunnel Manager?

Generally I use this command to create a local Socks proxy via SSH Tunneling ssh -ND 7777 -i google.pem ubuntu@107.20.x.x Then i configure my applications to use Socks proxy on localhost (i.e. ...
1
vote
1answer
11k views

ssh: connect to host myremotehost.com port 22: Connection refused

So I am trying to get ssh working on my server. I can connect on my local network with the local ip address of the server perfectly fine. When I try to connect remotely (through a domain name that I ...
0
votes
1answer
358 views

Connect to MySQL on remote server from inside python script (DB API)

Very recently I have started to write python scripts that need to connect few databases on mySQL server. The problem is that when I work from office my script works fine but running a script from my ...
2
votes
1answer
3k views

How to know actives ssh port forwarding

I have configured in ~/.ssh/config many port forwarding for VNC with different port for each servers. Is there a command which can help me to know which port is forwarding to when I open an SSH ...
15
votes
2answers
11k views

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs ...