NOTE: This setup was tested only in Ubuntu 18.04 x64 INTRO The objective is to perform a SSH login and authenticate to a local Microsoft AD. There are many ways out there to do this, but most involving joining the […]
ssh tunnel squid proxy setup
SSH is a very secure encrypted connection. Much much easier to setup then a VPN. its quite easy to setup, on the server side all we need is Open SSH and Squid on the client side Windows we can use […]
Reverse SSH Tunnel
The idea is to have my IP autostart connect to my Cloud server, this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules. The only requsisite is that PI has internet and run […]
Slow ssh login
Slow ssh login SSH session slow to start? It’s the DNS fault! Just add “UseDNS no” to /etc/ssh/sshd_config service sshd restart
SSH Automatic Login
SSH Automatic Login Well I am tired of entering my password 100 times a day, are you too? The solution I wrote this script using the powerful expect download expect I actually use a more complex script since our root […]
ssh copy key
You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id as explained in this article. The magical 3 commands are: ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host ssh remote-hostls /tmp ssh-keygen […]
Setup Fail2Ban
How to Install fail2ban on CentOS RedHat Reference to my original post here Make sure you have the repo darg for CentOS/RedHat # yum install fail2ban # chkconfig –add fail2ban # chkconfig fail2ban on # vim /etc/fail2ban.conf [DEFAULT] background = […]