SSH Access without password

This tutorial will help you to access using SSH a server without password.

let’s assume the following:

Server A: is
Server B: is

Create SSH key on Server A: (just follow the rest of instructions on your screen)
ssh-keygen -t rsa -b 4096

a key file would be created in /root/.ssh

copy the key to Server B using guest user
ssh-copy-id -i ~/.ssh/ guest@

to try it: (from Server A)
ssh guest@

good luck!


PT Primatama Teknologi Solusindo
Chase Plaza 8th Floor,
Jl. Jendral Sudirman Kav. 21 Jakarta Selatan 12920 Indonesia


We provide a high quality, secured and best practice solutions to improve your business performance in economic ways. . We are glad to introduce PRIMTEK, We build through the years of expertise and professionalism
— Primtek

Copyright 2017 PT Primatama Teknologi Solusindo © All Rights Reserved