top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How I can make ssh to other machine password less ?

0 votes
362 views
How I can make ssh to other machine password less ?
posted Apr 23, 2017 by Vikram Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

There was a requirement for password ssh during one of my project and I achieved the same by using the following commands.
$ssh-keygen
$ssh-copy-id
When above command will execute, it will ask for password.
After successful execution of ssh-copy-id when you do $ ssh it will be password less.

answer Apr 23, 2017 by Harshita
Similar Questions
+3 votes

I have one host machine and want to run multiple docker containers and each container I want to run different web servers.
How I can achieve this ? Sharing the steps would be good enough for me to proceed. Thanks in advance.

...