DEV Community

Cover image for Connect using BASH
Akilesh
Akilesh

Posted on • Updated on

Connect using BASH

" This article is published using Lamento🍋

Install Bash

If you have Linux or mac OS running on your device you are blessed with free bash integration but in windows you should install and configure it. luckily for windows we can use Git Bash as an alternative & Powershell to works fine.

Path

Open your Bash terminal on the folder where you needed the SSH key to be generated.

Generate key gen

1- Enter this command to start the ssh generation process.

ssh-keygen
Enter fullscreen mode Exit fullscreen mode

2- It will ask you to assign the path where it need to be store the generated token.
Image description

3- A passphrase will be asked for generations but this could be omitted just leave it empty and press enter.
Image description

4- The ssh key is generated on the specific location successfully.
Image description

5- Enter this command to view the files.

cat your-ssh.pub
Enter fullscreen mode Exit fullscreen mode

Image description

6- Paste the pub ssh key in this text area and assign a name to it.
Image description

7- To connect with the cloud computer from your terminal use this command.

ssh -i ./plausible-ssh root@13x.5x.x6.8x
Enter fullscreen mode Exit fullscreen mode

Here root is your digital ocean Droplets user name & follow up the ip address of the droplet.

Top comments (0)