Steps to Enabling Password-Less SSH login : First of all install SSH server and agent respectively STEP 1 : Generate a authentication keys for User A: $ssh-keygen -t rsa STEP 2: Change the permissions of .ssh to 700 $chmod 700 /home/user/.ssh Change the permissions of .ssh/authorized_keys to 600 $chmod 600 /home/user/.ssh/authorized_keys STEP 3: Copy User A’s key to User B’s : ssh-copy-id userb@192.168.1.1 This will ask for password of User B. When you have entered correct password the key will be copied to …
Tag: ssh
Basically its necessary to know what all user are doing or did on your system which can help us in hardening the system. To view commands which were executed by a specific user : ~$ …
Step One – Install Dependencies $sudo apt-get install libpam-google-authenticator Step Two – Edit the Configuration Files To use the module you have to edit two configuration files. $nano /etc/pam.d/sshd Add the following line on top of …
First install apache2 webserver firing following command on your terminal: sudo apt-get install apache2 Step 1 : Create a “.conf ” file in sites-available. cd /etc/apache2/sites-available $nano test.mydomaine.com.conf Step 2 : Insert following content in test.mydomaine.com …
Social Profiles