Syndicate content

User Loggedin

Welcome to Gujarat Hosting

Blogs

SSH Login Without Password Using ssh-keygen & ssh-copy-id

Step 1: Create public and private keys using ssh-key-gen on local-host

tejas@local-host$ [Note: You are on local-host here]
tejas@local-host$ ssh-keygen Generating public/private rsa key pair.
Enter file in which to save the key (/home/tejas/.ssh/id_rsa):[Enter key]
Enter passphrase (empty for no passphrase): [Press enter key]
Enter same passphrase again: [Pess enter key]
Your identification has been saved in /home/tejas/.ssh/id_rsa.

Reset MySql Root Passward

Step # 1 : Stop MySQL Service.
 
# /etc/init.d/mysql stop
Output:

Stopping MySQL database server: mysqld.
Step # 2:Start to MySQL Server W/O Password :
# mysqld_safe --skip-grant-tables &
Output:

How To Install install Apache, MySQL and PHP on Linux

In Ubuntu