23
edits
m |
m |
||
Line 13: | Line 13: | ||
'''On the target/server computer:''' | '''On the target/server computer:''' | ||
# Log in with the account that was assigned to you | # Log in with the account that was assigned to you | ||
# On terminal make sure you are at your account home directory: cd ~/ | # On terminal make sure you are at your account home directory: '''cd ~/''' | ||
# If the ".ssh" folder doesn't exist, create one: sudo mkdir .ssh | # If the ".ssh" folder doesn't exist, create one: sudo mkdir .ssh | ||
# Set the 700 permissions to .ssh: sudo chmod 700 .ssh | # Set the 700 permissions to .ssh: '''sudo chmod 700 .ssh''' | ||
# Now change directory: cd .ssh | # Now change directory: '''cd .ssh''' | ||
# If the "authorized_keys" file doesn't exist, create one: touch authorized_keys | # If the "authorized_keys" file doesn't exist, create one: '''touch authorized_keys''' | ||
# Set the 644 permissions: sudo chmod 644 authorized_keys | # Set the 644 permissions: '''sudo chmod 644 authorized_keys''' | ||
# And finally, copy and save your public key in this "authorized_keys" file: sudo nano authorized_keys | # And finally, copy and save your public key in this "authorized_keys" file: '''sudo nano authorized_keys''' | ||
'''From your computer:'''<br /> | '''From your computer:'''<br /> |
edits