How to add a new SSH key to a server (even if you can't access it)
Thessh-copy-idcommand(intheopenssh-clientpackageandinstalledbydefault)doesexactlythis:[email protected].,Toauthenticatewitharemote-hostbyusingyourpublicSSHkeytousethessh-copy-idcommand.Usethe-iflagtospecifythepublickeytocopytot...。參考影片的文章的如下: