2 machines, 1 called client , 1 called server , server need static ip address. client connects server by ssh without password. step1: create pub_key on client, exectue on client ssh-keygen -t rsa step2: copy pub_key to server, exectue on client ssh-…