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:
that generate public key (something .pub @ end) , private key. must create file called "authorized _keys" on both computers, , add public key computers that.code:ssh-keygen -r rsa
so, let's call them computera , computerb. generate key pair on both. copy .pub file computera computerb @ ~/.ssh/, , import key "authorized_keys" file:
now computera can ssh computerb without password.code:cat computera.pub >> authorized_keys
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
Post a Comment