All Questions
503
questions
5
votes
3
answers
9k
views
How do I properly SSH into a server behind a NAT while maintaining the tightest possible security?
I have a VPC in Amazon AWS. There's a NAT Server running in a Public Subnet that connects to an Internet Gateway. I have a bunch of servers running in various private subnets within the VPC. I'd like ...
5
votes
1
answer
8k
views
Create multi-hop SSH tunnel with different user on end machine
I have tried creating a multi-hop SSH tunnel using a command like this:
ssh -L 2222:username@host2:22 host1 -N
However, when I try to use the SSH tunnel like this
ssh -p 2222 localhost
I get this ...
5
votes
1
answer
7k
views
SSH connection continuously dropping
I have configured my SSH connection as follows: ~/.ssh/config on client side
ServerAliveInterval 1
ServerAliveCountMax 1200
and in /etc/ssh/sshd_config on server side:
ClientAliveInterval 5 ...
5
votes
1
answer
5k
views
SSH Server Not Responding To Connection Request
I'm attempting to set up an SSH server on my local machine using OpenSSH. When I try to SSH from a remote host into my local SSH server, the SSH server doesn't respond and the request times out. I'm ...
5
votes
0
answers
3k
views
SSH reverse proxy
I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
4
votes
5
answers
29k
views
How to block IP in ssh
A very insistent individual is trying continuously to gain (unauthorized) access to my system for the last few days... There are a gazillion of entries, like in /var/log/auth.log:
Jun 21 03:55:15 ...
4
votes
2
answers
12k
views
How to force hostname to resolve to local address instead of public address?
I have a linux server on my home network which uses Dynamic DNS provided by noip.com, and a corresponding hostname "xxxx.hopto.org". From outside of my network, say, at a coffee shop, I can use this ...
4
votes
1
answer
2k
views
How to route traffic from ssh server to my local machine?
I am a student at a college. In my school, we have this strange rule that after 12 midnight, there is an internal LAN Ban. That means I am able to connect to the internet (external traffic) while ...
4
votes
1
answer
5k
views
Make a wireless hotspot in Linux and then ssh to it when connected
I want my raspberry device to make its own hotspot when it boots up (Internet not needed), and then ssh to it.
So the two questions I'm actually asking is...
How do I create a hotspot in Linux?
Once ...
4
votes
1
answer
722
views
How to create or convert private key in Unix/Linux in .ppk format which can be used in Windows PuTTY?
Is it possible to create or convert keys in Linux into .ppk format which can be used in PuTTY in Windows?
Without downloading any additional software like puttygen, possibly using standard tools like ...
4
votes
3
answers
6k
views
Is there a TeamViewer for the Linux console?
I have several Raspberry Pi's running DietPi (debian based) distributed in different locations. My clients are companies and everyone has a different network infrastructure.
I need to have access to ...
4
votes
1
answer
3k
views
Why does my Ubuntu IPv6 ssh server not work?
I am failing to set up my Ubuntu Server (16.04 LTS) with OpenSSH via IPv6. The server is running inside a VirtualBox Machine, which has its network interface set to "network bridge" (if that is the ...
4
votes
2
answers
256
views
Best way of reliably SSHing to a remote roaming linux host
I have a remote linux host that moves around the world on a boat. When the boat docks in a port the boat's network connects to (essentially) public wi-fi. I need to be able to administer the remote ...
4
votes
0
answers
1k
views
Can you connect two GNOME-boxes via ssh?
I’m trying to set up 2 node Hadoop cluster using two lap-tops with GNOME-boxes, both running Ubuntu 17.10. The both laptops are connectes to the same wifi but the GNOME-boxes alone are not connected ...
4
votes
0
answers
2k
views
Unable to ssh into my linux machine behind a router from outside the network
We are about to deploy some of the gateway devices (Raspberrypi) in the field. Although we are trying to make them so robust that we should not be required to remotely access them but as this is one ...