ssh - Adding an RSA key without overwriting -



ssh - Adding an RSA key without overwriting -

i want generate set of keys home server ssh into, ssh-keygen -t rsa, message: id_rsa exists. overwrite (y/n)?

well, don't want overwrite because keys have utilize ssh university's servers, , pain have junk 1 time again every time wanted switch. there easy way append keys? tried next tutorial (which cannot find) suggesting using cat command, pretty lost. seems solution simple i'm not seeing.

you can utilize same public key on both servers. if don’t want that, specify different location ~/.ssh/id_rsa when ssh-keygen prompts before that, , utilize agent:

% ssh-agent sh # replace favourite shell. $ ssh-add ~/.ssh/id_rsa_2 $ ssh somewhere $ exit %

ssh-agent can used without starting new shell eval $(ssh-agent).

ssh rsa ssh-keygen

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -