181
votes
15answers
129k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken.If I could at ...
98
votes
3answers
66k views

scp between two remote hosts from my (third) pc

I have two remote hosts.host1-> 10.3.0.1host2-> 10.3.0.2Both run an ssh server.The ssh server listens on port 22 in host1 and on port 6969 in host2.Now, using my local machine, I need to copy ...
23
votes
5answers
21k views

sshfs mount without compression or encryption

I am a very frequent user of sshfs for mounting various disks over the network. I do however have a very small machine (with an atom processor) from which I need to mount a directory using sshfs.Is ...
21
votes
2answers
28k views

I keep on getting a error when I connect to a ssh tunnel on putty

I'm using the current version of putty 0.66 and I keep on getting this error Disconnected: Server protocol violation: unexpected SSH2_MSG_UNIMPLEMENTED packetwhen I try to connect to a ssh ...
19
votes
1answer
2k views

Is it possible to create firewall that only allows legitimate webserver traffic on port 443 and not any other service?

I always used the simple trick to bypass most firewalls which prevented me from using any ports. I simply opened ssh on one of my servers on port 443 and tunneled all traffic through there.However I ...
17
votes
3answers
20k views

SSH Reverse socks tunnel

ssh -D can make a socks port at local machine, which pass the traffic to the remote, then to other places.ssh -L port:host:hostport, listen port at local machine, pass the traffic to "host:hostport" ...
14
votes
1answer
4k views

How to release ports on the SSH server when a reverse ssh tunnel disconnects abruptly/uncleanly

Ok here is the issue,We have a some hardware we install at our customers' locations, that hardware connects to our ssh server and establishes a reverse ssh tunnel so we can gain access to several ...
14
votes
4answers
41k views

Asus RT-N66U Enable SSH Access

Is the option to enable ssh access to this router not available in the stock version of the firmware?I can only see "Enable Telnet" under Administration -> System.That's kind of lame. Telnet is ...
14
votes
3answers
3k views

How to use UDP hole punching for a SSH tunnel / session

I want to deploy a Raspberry Pi in my weekend cottage. The Raspberry Pi is there to log the temperatures and send them to a remote server which has a fixed ip, saves the data and displays it on a ...
12
votes
4answers
24k views

How to set up an alias server name

I want to set up an alias server name on my laptop (Linux). I do not want to use the /etc/hosts/ file since the IP address of the remote server changes. The reason I want to do this is because the ...
10
votes
4answers
11k views

Multiple SSH connections to the same system - is it possible?

I have a linux computer acting as a server which can accept incoming SSH connections.Is it possible to reliably connect multiple devices at the same time, such as my phone and laptop, as well as ...
10
votes
2answers
679 views

How can I ssh into an ubuntu guest - running on a win10 host - from a remote linux server?

Short versionIf I am running an Ubuntu guest VirtualBox VM from a Windows 10 host, what steps do I need to take to ssh from a remote linux server into the Ubuntu guest VM?_______________________[ ...
9
votes
2answers
9k views

ssh multi-hop… adapting command to ssh config file

I am trying to put my multi-hop ssh command into the ssh .ssh/config file.This is my connection graph: laptop (i am here) ------> userver -------> workstationI have put the ssh public rsa keys ...
9
votes
4answers
155k views

PuTTY returns Network error: Connection timed out

I'm using an application called PuTTY to remote into a server. I can use it from my local library and many other libraries around me (and also from Starbucks, Panera, etc.) and it works.But I ...
8
votes
3answers
11k views

VPN Tunnel vs SSH Tunnel

What is the difference between a tunnel, a VPN tunnel and an SSH tunnel? According to Wikipedia, "tunneling" is:Tunneling typically contrasts with a layered protocol model such as those of OSI or ...

153050per page