Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
student:utilities:start:keypairs [2024/02/13 10:00] – stewarmc | student:utilities:start:keypairs [2024/04/02 13:52] – Set permissions on ~/.ssh and ~/.ssh/authorized_keys morrispj | ||
---|---|---|---|
Line 33: | Line 33: | ||
<code bash> | <code bash> | ||
cat id_rsa.pub >> ~/ | cat id_rsa.pub >> ~/ | ||
+ | </ | ||
+ | |||
+ | If the ~/.ssh directory does not exist you can create it. SSH has strict permission requirements on these files: | ||
+ | < | ||
+ | mkdir ~/.ssh | ||
+ | chmod 700 ~/.ssh | ||
+ | touch ~/ | ||
+ | chmod 600 ~/ | ||
</ | </ | ||