-1
votes
0answers
24 views

Connect to ssh server and avoid firewall blocking [closed]

I have remote host/server with ssh access. I have my computer in my work network which can connect via ssh only within this network. And i can not connect via ssh to other world because of port 22 ...
0
votes
1answer
54 views

How can I SSH to remote server through VPN, running on a VM?

I have an Ubuntu VM that is connected to a VPN (using OpenConnect on Ubuntu), and I want to SSH from my OS X host to the VPN through Ubuntu: (osx_host) --ssh--> (ubuntu_vm) --ssh--> ...
3
votes
2answers
756 views

ssh -L (error: bind: Address already in use)

Pretty simple, I know that this has happened to me before. Couldn't find a good answer on AU. I was running an ssh session with ports bound: ssh -L 3000:<server_name>:22 I just lost my ...
0
votes
1answer
186 views

Running ubuntu server behind a router DSL-2780

I am not sure if this qualifies as an Ubuntu related question or if i need to go to a D-Link related community. I am currently following the ars technica guide on setting up a home server using an HP ...
1
vote
1answer
2k views

Port forward in terminal only

I have an old Ubuntu server (13.04), and want to open a port for this online game server style software for a mate. I need a port open, and to tell it that port (I know how to tell the game that ...
0
votes
1answer
262 views

Stopping forwarding a dynamic port mid session

When connecting to a server, I can open a port forward midway though by Enter ~C -D 8080 When it comes to closing that forward though im a bit lost The docs say It also allows the ...
7
votes
2answers
15k 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 ...
3
votes
3answers
1k 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 ...
3
votes
0answers
449 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 ...
4
votes
0answers
268 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 ...
3
votes
1answer
3k 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. ...
4
votes
5answers
21k 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
543 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
7k 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 ...
3
votes
1answer
191 views

How to access a port on a remote server using SSH?

I have a service running on a certain port at the server. What I want to do is, access the server using SSH and use a local (client-side) program to access the server's port. Is that possible?
30
votes
2answers
31k 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 ...