Welcome! This page contains all the terminal commands and code snippets you'll need for the cloud bootcamp presentation.
Praesent tempus erat eu tellus bibendum varius. Phasellus nec tortor sed lacus molestie pretium sed vestibulum massa:
First, let's check if you already have SSH keys on your Mac. Open Terminal (Applications > Utilities > Terminal) and run:
ls -la ~/.ssh
If you see files named id_rsa and id_rsa.pub (or similar), you already have SSH keys and can skip to using them. If you get "No such file or directory" or don't see these files, continue to Step 2.
In Terminal, paste the following command:
ssh-keygen -t rsa
When prompted "Enter a file in which to save the key," just press Enter to use the default location.
You'll be asked to enter a passphrase. You can either:
To see your new public key (which you'll need to copy and share), run:
cat ~/.ssh/id_rsa.pub
Copy the entire output - this is your public key that you will need to paste into the UpCloud control panel.
Note: Never share your private key (id_rsa without the .pub extension)!
Look in your Documents folder or Desktop for files ending in .ppk (PuTTY private key files). If you find any:
.ppk fileIf you don't find any .ppk files, continue to Step 2 to generate new keys.
Look in your Documents folder or Desktop for files ending in .ppk (PuTTY private key files). If you find any, you may already have SSH keys set up.
Download and install PuTTY from putty.org if you haven't already. Then open PuTTYgen (it comes with PuTTY installation).
In PuTTYgen:
In the "Key passphrase" field, you can either:
If you enter a passphrase, repeat it in the "Confirm passphrase" field.
Click "Save private key" and save it somewhere safe (like Documents folder) with a .ppk extension.
In the "Public key for pasting into OpenSSH authorized_keys file" box, select all the text and copy it. This is your public key that you will need to paste into the UpCloud control panel.
Note: Keep your .ppk file safe and never share it with anyone!
Aliquam finibus enim nec consequat sagittis. Cras sodales consequat est, eget auctor tortor porta at. Donec et venenatis ante. Quisque vulputate tincidunt blandit. Praesent at metus ut lorem pharetra pellentesque.
Suspendisse urna sapien, tristique vel hendrerit sit amet, tempus eu turpis. Vestibulum suscipit gravida quam, vitae tristique leo sagittis non. Nullam lobortis maximus pharetra. Praesent tempus erat eu tellus bibendum varius. Phasellus nec tortor sed lacus molestie pretium sed vestibulum massa.
function helloWorld() {
console.log('Hello, world!');
}
function helloWorld() {
console.log('Hello, world!');
}
Nam maximus ultricies sapien, nec tincidunt lectus lobortis id. Aenean suscipit sapien quis laoreet finibus. Sed ut lorem sed tortor varius sagittis. Sed sagittis eros vel justo ultricies, eu tempus leo aliquet. Mauris tristique vestibulum libero, quis elementum lectus aliquam eget. Etiam at dictum eros.