Linked Questions

164
votes
2answers
103k views

What's ssh port forwarding and what's the difference between ssh local and remote port forwarding [duplicate]

I feel confused about ssh port forwarding and the difference between ssh local and remote port forwarding. Could you please explain them in detail and with examples? Thanks!
1
vote
1answer
1k views

Reverse connection to SSH server [duplicate]

Machine A is connected to the internet and is behind firewall so it cannot receive incoming connections. Machine B is open to the internet. I want to be able to type commands into B and have them ...
1
vote
1answer
229 views

How can I interact with my home router via a device on the local network using ssh? [duplicate]

I have a raspberry pi plugged into my router at home, running raspbian. Before I left for work I: Configured the router to forward ports 80 and 22 to the pi Configured dyndns This all works, and I ...
1
vote
0answers
66 views

How can I simulate a ssh session on a client behind a NAT? [duplicate]

Quick question: How can I simulate a ssh session, that I can use to run commands on a client behind a NAT, that uses only program installed by default on most operating systems (telnet...). Long ...
18
votes
3answers
30k 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 ...
19
votes
1answer
15k views

How can I configure a reverse SSH connection to the connecting computer?

I'm going to be deploying a number of machines in the near future which will be behind routers. It won't be feasible to set up dynamic DNS on each router and port forwarding, so is there a way I can ...
3
votes
6answers
2k views

Connect to a device's SSH on a network that has no inbound traffic enabled and no static IP address

what I'm trying to do is to enable a Raspberry, physically placed in a client's site, that has internet access via Dynamic IP, to receive SSH commands from the wild without having to manipulate the ...
9
votes
1answer
6k views

initiate ssh connection from server to client

We can easily connect via ssh to the remote machine that has public IP. But now I have a remote machine without public IP, and I need to connect to it from my machine that does have public IP. So ...
0
votes
2answers
7k views

Connecting from Cygwin to local linux machine using SSH?

I'm fairly new to Linux, I tried to look for an answer for this question online and was unable to find one or was simply confused with the jargon and didn't know if this was exactly what I wanted. ...
2
votes
2answers
2k views

Tunnel all connection in reverse SSH

I have a problem with network setup, and my poor networking knowledge or my local linux community can't help me. I have server A (right near my PC), which is hidden behind a NAT-router, and server B, ...
3
votes
2answers
2k views

Reverse X11 Forwarding without SSH on server

I want to run an X11 program on the SERVER and display the window on the CLIENT. I have a shell on the server to start with. (This is not an SSH shell, but some cluster computing software) The ...
0
votes
1answer
2k views

SSH DNS lookup on local IP addresses [duplicate]

As I have come to understand, SSH always goes through the process of reverse DNS lookups whether you are connecting to user@example.com or a local server calleduser@192.168.0.56. I do not know, ...
2
votes
2answers
1k views

Having ssh tunneling itself for remote access from a third machine [duplicate]

I am struggling with understanding if and how the following is possible. Say that I have a machine T (target) which I want to access from remote (ideally via ssh). T is behind a router/firewall R ...
2
votes
2answers
1k views

Copying Files Through Two Layers of SSH from Windows

The place I work has a login server, and then I login to a Linux box from that login server. As in, ssh login@host ssh computer_name providing authentication each time. If I'm working from my ...
2
votes
1answer
1k views

SSH Connection into LAN without port forwarding?

I'm living inside a study union for the next few month. the organisation has its own network and gateways where the students are connected to the internet. problem: I don't have access to the routers ...

15 30 50 per page