Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expected terminal output:

...


Enter

...

file

...

in

...

which

...

to

...

save

...

the

...

key

...

(/Users/vpscloud/.ssh/id_rsa):

...


Enter

...

passphrase

...

(empty

...

for

...

no

...

passphrase):

...


Enter

...

same

...

passphrase

...

again:

...


Your

...

identification

...

has

...

been

...

saved

...

in

...

id_rsa.

...


Your

...

public

...

key

...

has

...

been

...

saved

...

in

...

id_rsa.pub.


The

...

key

...

fingerprint

...

is:

...


SHA256:JjRWtoxHBR5E+EKtQNIgjT8GSVI9A4RPnGRWPsAVOOg

...

test@VpscloudServer

...


The

...

key's

...

randomart

...

image

...

is:

...


+---[RSA

...

3072]----+

...


|+&@@=.

...

=Oo.

...

|

...


|B+O+*

...

oB.o

...

|

...


|.=

...

.o==o=

...

|

...


|

...

E=

...

+oo.

...

|

...


|

...

.

...

.

...

..S

...

|

...


|

...

o

...

|

...


|

...

|

...


|

...

|

...


|

...

|

...


+----[SHA256]-----+

The default filename for SSH key pair is id_rsa and id_rsa.pub for private and public keys respectively. Please note if id_rsa file already exists in ~/.ssh/ and you choose not to overwrite the existing file a new filename will be saved in the active directory. The default location for SSH key pair for Linux and macOS is /home/login_user/.ssh/ For Windows the default location is C:\Users\login_user\.ssh\ . Once the SSH key pair is generated and you have located your public key, you can share the public key with the host server or trusted third parties. Typically, this is done by ssh-copy-id utility: ssh-copy-id -i ~/.ssh/ubuntukey.pub user@hostname

SSH Key and VPS Cloud+:

VPS Cloud+ makes managing SSH key hassle free. You can generate SSH key pair by simply running the above command and select “Add new” in the Instance Create section, where you can paste the content of your public key or you can browse your local folders. For more hassle free SSH key management you can choose to use our SSH key pair management system by simply selecting Generate tab on Add SSH Key section and simply enter the name of your key. This will generate an SSH key pair and the private key pem file will download automatically.

As an admin user, run the following command to copy your private SSH key pem into ~/.ssh/id_rsa

Run openssl rsa -in your_download_private_key.pem -out ~/.ssh/id_rsa

You can now use the corresponding public key in the instance you are launching.

Install OpenSSH on Windows 10 1809

If you are running on Windows 10 you will need to install OpenSSH as OpenSSH client is not installed by default.

Follow the below steps to install OpenSSH client for Windows 10 1809. You can also install OpenSSH client through PowerShell. For more details, please visit OpenSSH Client installation

1. Locate Manage Optional Features under Settings --> Apps --> Apps and Features

2. Check if OpenSSH Client is installed. For new installation click on Add a feature

3. Seach for OpenSSH Client and select install

4. On a successful installation of OpenSSH Client you can generate an SSH key pair by following the steps on Generating SSH key pair with OpenSSH.