Last active
August 27, 2015 09:02
-
-
Save Saajan/4d355b89f55d089ed331 to your computer and use it in GitHub Desktop.
Ubuntu Tool install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install ruby-full | |
| sudo gem install sass | |
| sudo gem install compass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ls -al ~/.ssh | |
| # Lists the files in your .ssh directory, if they exist | |
| #With Terminal still open, copy and paste the text below. Make sure you substitute in your GitHub email address. | |
| ! ssh-keygen -t rsa -b 4096 -C "your_email@example.com" | |
| # Creates a new ssh key, using the provided email as a label | |
| # Generating public/private rsa key pair. | |
| # We strongly suggest keeping the default settings as they are, so when you're prompted to "Enter a file in which to save the key", just press Enter to continue. | |
| ! Enter file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter] | |
| #You'll be asked to enter a passphrase. | |
| ! Enter passphrase (empty for no passphrase): [Type a passphrase] | |
| # Enter same passphrase again: [Type passphrase again] | |
| #Tip: We strongly recommend a very good, secure passphrase. For more information, see "Working with SSH key passphrases". | |
| #After you enter a passphrase, you'll be given the fingerprint, or id, of your SSH key. It will look something like this: | |
| # Your identification has been saved in /Users/you/.ssh/id_rsa. | |
| # Your public key has been saved in /Users/you/.ssh/id_rsa.pub. | |
| # The key fingerprint is: | |
| # 01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db your_email@example.com | |
| Ensure ssh-agent is enabled: | |
| # start the ssh-agent in the background | |
| ! eval "$(ssh-agent -s)" | |
| # Agent pid 59566 | |
| ! Add your SSH key to the ssh-agent: | |
| ssh-add ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment