ssh user in ubuntu
To reduce the annoyance with terminal specific passwords, ssh gives a better approach to login to the server more securely.
More precisely : Ubuntu help
It always starts after the normal user creation. Before going to proceed with ssh one must have to create the user in ubuntu using adduser command and follow the steps guided by the terminal.
Here you go with the precise configuration…
Step1: We need to find the newly created user directory in /home/newuser, create the .ssh directory inside the new user directory.
Step2: Create a file under that newly created directory .ssh, That file name must be matched with
This you can find /etc/ssh/sshd_config file.
Step3: Now create a ssh key using
$ssh-keygen -t rsa
More precisely :: Ubuntu Help
Step4: Now its time to paste the public key in authorized_keys file. In above command you might see two files one is public key and another is private key. Open that public key and copy into authorized_keys file.
Update the line in /etc/ssh/sshd_config
Step5: Restart the ssh service.
$sudo service ssh restart
Now login to the FTP using private key, which is generated in step-3 .
Step4 will avoid the tunnel clear text passwords.