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 10.100.100.38
Server B: is 10.100.100.36

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/id_rsa.pub guest@10.100.100.36

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

good luck!

Headquarters

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

helpdesk[at]primteksolusindo[dot]com
info[at]primteksolusindo[dot]com
+6221-2598-9830

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