Home

Linux

Here are some useful videos to help you get up to speed on Linux:

Creating an ssh key

ssh-keygen -t rsa -C "your@email.com"

Accept the default file path for the key.

Type a password if you want (though it’s annoying to retype it all the time). Or, just press Enter for no password.

You’ll get some fun art:

+--[ RSA 2048]----+
|       .=Ooo+    |
|        o o= o   |
|          o o .  |
|       o o o .   |
|      . S = o    |
|       . + o     |
|          E      |
|         o .     |
|          .      |
+-----------------+

Now, you need to copy the “public” key and give it to BitBucket in your account settings.

cat ~/.ssh/id_rsa.pub

It will look something like this:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAy+VVfZMrKWCt0wee+lPiGT...
CSCI 221 material by Joshua Eckroth is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Source code for this website available at GitHub.