@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is If you […]
Tag: linux
Copy Contents Of Directory To Another Directory Using cp in Bash
This command will copy the contents of dir2 and place them into dir4 using BASH shell. -u or –update is optional and will only copy if source file in newer. -R or –recursive will copy all sub directories. cp dir1/dir2/. dir3/dir4 -R -u
IP Forwarding and Masquerading in Linux Using UFW
In this example we have 2 private subnets 192.168.1.0/24 and 172.16.1.0/24 where only 192.168.1.xxx addresses can directly access the router at 192.168.1.1. We want to access the internet from both subnets. We need a machine connected to both networks and allow IP forwarding from 172.16.1.0/24 to 192.168.1.0/24. Although probably better with 2 NICs it can […]
Using OpenSSH on a Linux Server with Filezilla
On your linux server install OpenSSH if not already present. #debian apt-get install openssh-server #redhat yum install openssh-server Using Filezilla on a client enter the relavent details using the SSH protocol SFTP and user credentials setup on the server. Filezilla will ask you if you want to trust the connection and will display the rsa […]
Linux Proxy Server Setup For Internet Access
To allow global internet access through a proxy server you can add the code below to the file /etc/bash.bashrc. export http_proxy=http://10.0.4.1:3128 To have immediate effect without need for a reboot type: source /etc/bash.bashrc For temporary http proxy just type export http_proxy=”http://10.0.0.0.:3128″ Tested with Debian distros