Tips Linux

Linux, DevOps and Security

Tag: ssh

Reverse shell on firewalled server

Sometimes, it may be useful to keep a connection to a server (let’s call it SERVER_1) that is not reachable from the internet because of iptables ingress rules or simply because it doesn’t have a public IP.  You can reach it from another server (let’s name it SERVER_2) that is accessible.

Continue reading

Shell script to add keys to ssh config file

When you have many servers with different usernames, keys etc, it’s easier to manage the server with the .ssh/config file.

A very basic script that I wrote long time ago to easily add an host to my ~/.ssh/config file.

Continue reading

© 2019 Tips Linux

Theme by Anders NorenUp ↑