Posts

Showing posts with the label configuration

SSH configuration sshd config file

SSH configuration sshd config file In SSH Server , we do have two types of configuration files. They are sshd_config and ssh_config. Here sshd_config is all about server side configuration. The behavior of SSH server written at this file. In this article I am writing a simple article with few best practices over sshd_config. Note: For edit that you are doing to sshd_config , you must restart sshd service. Please review my last article about ssh restart. 1. Allow login only with root and deny all other. This is actually simple. In the terminal type as a root user as menioned below # touch /etc/nologin Thats it. Then restart sshd service. Now try with normal user and you wont be allowed to login. 2.SSH Protocol switching. SSH have two versions as Version-1 , Version-2 Version-1 have only feature that user based authentication.Due to this we can only know who is getting login into server but we cant see from which machine or host he is doing this and this machine may be authorized or unau...

Solve The mcrypt extension is missing Please check your PHP configuration Phpmyadmin Error in Ubuntu 13 10

Image
Solve The mcrypt extension is missing Please check your PHP configuration Phpmyadmin Error in Ubuntu 13 10 Ive done installation phpmyadmin on Ubuntu 13.10 with apache web server. I restarted apache2 and after login to phpmyadmin, on the bottom of the page show this error: " The mcrypt extension is missing. Please check your PHP configuration. " like screenshot below: So, how to fix this problem? Its bug is missing mcrypt.ini , where the file located in /etc/php5/conf.d/ , which should be in /etc/php5/mods-available/ . So we should move mcrypt.ini into /etc/php5/mods-available/ with the following commands below: Run the Terminal, and switch to superuser / root by type: sudo su Then move mcrypt.ini file into /etc/php5/mods-available/ | mv -i /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/ Then type this command: php5enmod mcrypt Then restart apache2: service apache2 restart So, you will not find error on the bottom of the phpmyadmin page. download file now

SSL VPN configuration on Cisco ASA with AnyConnect VPN client

Image
SSL VPN configuration on Cisco ASA with AnyConnect VPN client This post will describe how to setup a Cisco Adaptive Security Appliance (ASA) device to perform remote access SSL VPN with the stand-alone Cisco AnyConnect VPN client. I followed a few tutorials on the web (including a couple of examples from the Cisco website), but I failed to implement a complete solution. The following recipe has been thoroughly tested and verified. Ingredients used for the recipe: Cisco 5500 Series ASA that runs software version 8.0(2) Cisco AnyConnect SSL VPN client version for Windows 2.3.0254 1. Copy AnyConnect package to the Cisco ASA device ciscoasa# copy tftp flash Address or name of remote host ? 192.168.100.30 Source filename ? anyconnect-win-2.3.0254-k9.pkg Destination filename [anyconnect-win-2.3.0254-k9.pkg]? 2. Create an IP address pool ciscoasa(config)# ip local pool VPNPOOL 192.168.20.1-192.168.20.100 mask 255.255.255.0 3. Enable and configure WebVPN ciscoasa(config)# webvpn ciscoasa(confi...