Skip to main content

Thread: How to configure SSH so it works on both directions without password?


is there can tell me how make ssh work on both directions without password?

have @ community documentation here:

https://help.ubuntu.com/community/ssh/openssh/keys

in short, need create key pair on both computers using:

code:
ssh-keygen -r rsa
that generate public key (something .pub @ end) , private key. must create file called "authorized _keys" on both computers, , add public key computers that.

so, let's call them computera , computerb. generate key pair on both. copy .pub file computera computerb @ ~/.ssh/, , import key "authorized_keys" file:

code:
cat computera.pub >> authorized_keys
now computera can ssh computerb without password.

computerb ssh computera without password copy .pub file computerb ~/.ssh of computera , import authorized_keys file of computera in same way did computerb.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] How to configure SSH so it works on both directions without password?


Ubuntu

Comments

Popular posts from this blog

Is this Captcha code corrupt?

How to Grab email address from webform and insert into form action

Thread: "Broken" background image with Super Key