Sharingsection of System Preferences.
Remember credentialsto save the credentials. Code App will ask for Face ID or Touch ID authentication when you connect to the server again in the future.
ssh-keygenin the terminal.
Show public keybutton. Tap it and copy the public key to your remote server at
~/.ssh/authorized_keys. You can open this file by running
open ~/.ssh/authorized_keysin your remote server's terminal.