before changing links

This commit is contained in:
govardhan
2025-06-19 09:01:18 +05:30
commit 6686208bf1
1277 changed files with 29692 additions and 0 deletions

View File

@ -0,0 +1,68 @@
Can I change my password through RDP on CloudFerro Cloud?[](#can-i-change-my-password-through-rdp-on-brand-name "Permalink to this headline")
==============================================================================================================================================
In short: No, this is not possible. You have to be logged in when you want to change your password. Security measures requiring you to change your password on first login are not working with RDP and have to be disabled on administrative level.
This article will show you how to create and configure a new account which can access the VM using RDP without the need to immediately change the password.
What We Are Going To Cover[](#what-we-are-going-to-cover "Permalink to this headline")
---------------------------------------------------------------------------------------
> * Creating an account on administrative level
> * Configuring the account for remote access
Prerequisites[](#prerequisites "Permalink to this headline")
-------------------------------------------------------------
No. 1 **Account**
You need a CloudFerro Cloud hosting account with access to the Horizon interface: <https://portal.cloudferro.com/>.
No. 2 **Windows VM**
You need a running Windows VM with Remote Access allowed, an Administrator account, and basic Windows knowledge.
Step 1: Microsoft Management Console (mmc)[](#step-1-microsoft-management-console-mmc "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------
Log in as administrator, click on the Windows icon and type “mmc”.
![run-mmc.png](../_images/run-mmc.png)
Confirm the question with “Yes”, select File -> Add/Remove Snap-in…
![snap-in.png](../_images/snap-in.png)
Chose the snap-in “Local Users and Groups”, click “Add >”, “Finish”, and “OK” in the successive windows.
Step 2: Create and configure a user account[](#step-2-create-and-configure-a-user-account "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------
Expand the snap-in and open the “Users” folder. There are already some default accounts available.
Right-click into the white area where the accounts are listed and select “New user…” from the menu.
Provide a user name and a password, full name and description are optional.
Deselect “User must change password at next logon” and click “Create”.
![account-new.png](../_images/account-new.png)
Right-click on the newly created account and select “Properties”.
![account-menu.png](../_images/account-menu.png)
Navigate to “Member Of” and click “Add…”
![account-properties.png](../_images/account-properties.png)
Click on “Advanced…” in the opening window, then “Find Now”.
Select “Remote Desktop Users” in the search results, click “OK” twice.
![account-groups.png](../_images/account-groups.png)
If everything was done right, the selected group is now listed. Click “Apply”, then “OK”.
![account-final.png](../_images/account-final.png)
What To Do Next[](#what-to-do-next "Permalink to this headline")
-----------------------------------------------------------------
You have successfully created a new user account and configured this account for remotely using the VM.
You can now forward the credentials and ask the user to change the password after logging in.

View File

@ -0,0 +1,78 @@
Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on CloudFerro Cloud[](#connecting-to-a-windows-vm-via-rdp-through-a-linux-bastion-host-port-forwarding-on-brand-name "Permalink to this headline")
===================================================================================================================================================================================================================================
If you want to increase the security of your Windows VMs while connecting to them via RDP, you might want to use the method described in this article. It involves connecting to your Windows VM not directly through RDP, but through another virtual machine running Linux known as the “bastion host”. In this case, the RDP connection gets tunneled through SSH and is not directly visible to others.
This method is especially useful if you fear that your RDP connection might be compromised or if using RDP without additional security measures is illegal. It also allows you to use a single floating IP address to connect to multiple Windows VMs.
**Requirements:**[](#requirements "Permalink to this headline")
----------------------------------------------------------------
* Linux virtual machine with SSH access - bastion host
* Windows virtual machine located in the same network as the bastion host
* The private key downloaded from OpenStack dashboard converted from .pem to .ppk format (using “PuTTYgen”) - for information on how to do this please see [How to access a VM from Windows PuTTY on CloudFerro Cloud](How-to-access-a-VM-from-Windows-PuTTY-on-CloudFerro-Cloud.html)
* The password for the Administrator account has been changed via the OpenStack dashboard console
* Your VMs are assigned the following security group: allow\_ping\_ssh\_icmp\_rdp
![conn01.png](../_images/conn01.png)
Step 1. Information required to establish connection with the bastion host.[](#step-1-information-required-to-establish-connection-with-the-bastion-host "Permalink to this headline")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Launch PuTTY and change the settings according to the instructions:
**Session** tab: Provide the host (bastion) floating IP address and the SSH port (default 22).
![conn11b.png](../_images/conn11b.png)
**Connection > Data** tab: Set auto-login username as “eouser”.
![conn02b.png](../_images/conn02b.png)
**Connection > SSH > Auth** tab: Select the private key in the .ppk format.
![conn03b.png](../_images/conn03b.png)
**Connection > SSH > Tunnels:** Provide the source port for the localhost RDP connection and destination (in the following format: *private IP address of Windows VM:RDP port* - as seen on the screenshot below).
![conn04b.png](../_images/conn04b.png)
Click the “Add” button to confirm the changes.
Your forwarded port should now be visible in the upper tab.
![conn05b.png](../_images/conn05b.png)
Provide the name of the session and save your config to avoid repeating the whole process every time you would like to connect to your instance again.
![conn10b.png](../_images/conn10b.png)
Step 2. Open connection in PuTTy[](#step-2-open-connection-in-putty "Permalink to this headline")
--------------------------------------------------------------------------------------------------
Click “Open” to establish the connection.
![conn06b.png](../_images/conn06b.png)
Step 3. Start an RDP session to localhost to reach the destination server[](#step-3-start-an-rdp-session-to-localhost-to-reach-the-destination-server "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Set *localhost address:port* selected in step 2 (in this case it is either 127.0.0.1:8888 or localhost:8888 - you can choose whatever you prefer).
Set the username as “Administrator”.
![conn07b.png](../_images/conn07b.png)
Click “Connect” and enter your VMs administrator password (the one youve set in the OpenStack console).
![conn08b.png](../_images/conn08b.png)
Confirm the connection in the certificate prompt.
![conn09b.png](../_images/conn09b.png)
Thats it, youre now successfully connected to your Windows VM!
![conn11.png](../_images/conn11.png)

View File

@ -0,0 +1,166 @@
How to Create SSH Key Pair in Windows 11 On CloudFerro Cloud[](#how-to-create-ssh-key-pair-in-windows-11-on-brand-name "Permalink to this headline")
=====================================================================================================================================================
This guide will show you how to generate an SSH key pair in Windows 11 using OpenSSH. You will then be able to use that key pair to control appropriately configured virtual machines hosted on CloudFerro Cloud cloud.
This article only covers the basics of this function and assumes that you will not change the names of generated keys.
Prerequisites[](#prerequisites "Permalink to this headline")
-------------------------------------------------------------
No. 1 **Local computer running Windows 11**
We assume that you have a local computer which runs Windows 11. This article does **not** cover the Windows Server family of operating systems.
Step 1: Verify whether OpenSSH Client is installed[](#step-1-verify-whether-openssh-client-is-installed "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------------------------
Open the Command Prompt (**cmd.exe**).
![create_ssh_key_windows_11-03_creodias.png](../_images/create_ssh_key_windows_11-03_creodias.png)
Execute the following command and press Enter:
```
ssh
```
If SSH client is installed, the output should contain information about how to use it:
![create_ssh_key_windows_11-04_creodias.png](../_images/create_ssh_key_windows_11-04_creodias.png)
If, however, you got the following output:
```
'ssh' is not recognized as an internal or external command,
operable program or batch file.
```
it means that SSH client is not installed on your machine.
Step 2: Install OpenSSH[](#step-2-install-openssh "Permalink to this headline")
--------------------------------------------------------------------------------
This step is only required if you dont have SSH client installed. If you do have it, skip to Step 3.
Minimize the Command Prompt if you still have it open.
Open the system **Settings** application and enter section **System** -> **Optional features**
![create_ssh_key_windows_11-07_creodias.png](../_images/create_ssh_key_windows_11-07_creodias.png)
In section **Add an optional feature**, click **View features**.
![create_ssh_key_windows_11-08_creodias.png](../_images/create_ssh_key_windows_11-08_creodias.png)
![create_ssh_key_windows_11-09_creodias.png](../_images/create_ssh_key_windows_11-09_creodias.png)
In text field **Find an available optional feature**, enter **openssh**
![create_ssh_key_windows_11-10_creodias.png](../_images/create_ssh_key_windows_11-10_creodias.png)
Two features should be displayed:
> * **OpenSSH Client** which you can use to control other devices.
> * **OpenSSH Server** which you can install to allow other devices to control your computer. This option is outside of scope of this article.
Tick the checkbox next to **OpenSSH Client** and click **Next**
![create_ssh_key_windows_11-11_creodias.png](../_images/create_ssh_key_windows_11-11_creodias.png)
You should now get the following window:
![create_ssh_key_windows_11-12_creodias.png](../_images/create_ssh_key_windows_11-12_creodias.png)
Click **Add**
Wait until the process is finished:
![create_ssh_key_windows_11-13_creodias.png](../_images/create_ssh_key_windows_11-13_creodias.png)
It might last several dozen minutes.
Once its over, you should see the confirmation that the component was **Added**
![create_ssh_key_windows_11-14_creodias.png](../_images/create_ssh_key_windows_11-14_creodias.png)
Step 3: Use ssh-keygen to generate an SSH key pair[](#step-3-use-ssh-keygen-to-generate-an-ssh-key-pair "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------------------------
Return to the Command Prompt you previously opened. Enter the following command to generate an SSH key pair:
```
ssh-keygen
```
![create_ssh_key_windows_11-15_creodias.png](../_images/create_ssh_key_windows_11-15_creodias.png)
Of course, you can fine tune the security and other properties of this key pair during this process. However, if youre just getting started, you can simply accept default values by pressing Enter multiple times until the program finishes its operation and you are once again prompted for enterring the command.
![create_ssh_key_windows_11-16_creodias.png](../_images/create_ssh_key_windows_11-16_creodias.png)
Your key pair should now be generated.
As of writing of this article, by default this process should create:
> * a directory **.ssh** in your home directory, and in that directory:
>
> > + file **id\_ed25519** for secret key, and
> > + file named **id\_ed25519.pub** for public key
OpenSSH names these files based on algorithm used. As of writing of this article, the names of these files come from the Ed25519 algorithm. Previously, the RSA algorithm was used, and the files were by default called **id\_rsa** and **id\_rsa.pub**
If in the future the default algorithm used by OpenSSH changes, the default names of keys will likely be different.
Step 4: See generated key pair[](#step-4-see-generated-key-pair "Permalink to this headline")
----------------------------------------------------------------------------------------------
Open the **Run** window by pressing the key combination **Windows+R** (if you are using a macOS keyboard, then **Cmd+R**)
Enter in its text field:
```
%USERPROFILE%\.ssh
```
![create_ssh_key_windows_11-19_creodias.png](../_images/create_ssh_key_windows_11-19_creodias.png)
You should get to **.ssh** folder which is located in your account profile folder.
You should there see your SSH keys:
![create_ssh_key_windows_11-20_creodias.png](../_images/create_ssh_key_windows_11-20_creodias.png)
In our example, these are two files:
> * **id\_ed25519** which is our private key
> * **id\_ed25519.pub** which is our public key
Note that public SSH key and Microsoft Publisher documents share the same extension - **.pub**
Because of that, Windows might mistakenly mark your public SSH key as a Microsoft Publisher document, as was the case on screenshot above.
If you want to see the full extensions of files, including **.pub**, click **View** on the task bar of the File Explorer. After that, click **Show** -> **File name extensions**
![create_ssh_key_windows_11-21_creodias.png](../_images/create_ssh_key_windows_11-21_creodias.png)
![create_ssh_key_windows_11-22_creodias.png](../_images/create_ssh_key_windows_11-22_creodias.png)
What To Do Next[](#what-to-do-next "Permalink to this headline")
-----------------------------------------------------------------
For Windows 10, see this guide: [How to Create SSH Key Pair in Windows 10 On CloudFerro Cloud](How-To-Create-SSH-Key-Pair-In-Windows-On-CloudFerro-Cloud.html)
To be able to easily add your new public key to VMs you might create in the future, upload it to OpenStack. Thanks to that, you will be able to use it to authenticate to VMs which support it.
Learn more here:
[How to add SSH key from Horizon web console on CloudFerro Cloud](../networking/How-to-add-SSH-key-from-Horizon-web-console-on-CloudFerro-Cloud.html)
Once youve done it, you can create a new virtual machine on CloudFerro Cloud cloud and authenticate with your key pair:
[How to create a Linux VM and access it from Windows desktop on CloudFerro Cloud](../cloud/How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-CloudFerro-Cloud.html)
The following articles cover how to connect to virtual machines via SSH once theyve already been created:

View File

@ -0,0 +1,92 @@
How to Create SSH Key Pair in Windows 10 On CloudFerro Cloud[](#how-to-create-ssh-key-pair-in-windows-10-on-brand-name "Permalink to this headline")
=====================================================================================================================================================
This guide will show you how to generate an SSH key pair in Windows 10 using OpenSSH.
Prerequisites[](#prerequisites "Permalink to this headline")
-------------------------------------------------------------
> * System running Windows 10 or Windows Server 2016-2022
> * User account with administrative privileges
> * Access to Windows command prompt
Step 1: Verify if OpenSSH Client is Installed[](#step-1-verify-if-openssh-client-is-installed "Permalink to this headline")
----------------------------------------------------------------------------------------------------------------------------
First, check to see if you have the OpenSSH client installed:
1. Open the **Settings** panel, then click **Apps**.
2. Under the *Apps and Features* heading, click **Manage optional Features**.
![ssh_windows_1.png](../_images/ssh_windows_1.png)
3. Scroll down the list to see if OpenSSH Client is listed.
* If its not, click the plus-sign next to Add a feature.
* Scroll through the list to find and select OpenSSH Client.
* Finally, click Install.
![ssh_windows_2.png](../_images/ssh_windows_2.png)
This will install app called **ssh-keygen**.
Step 2: Open Command Prompt[](#step-2-open-command-prompt "Permalink to this headline")
----------------------------------------------------------------------------------------
**ssh-keygen** runs from Windows Command Prompt, so the next step is to open it.
1. Press the Windows key.
2. Type **cmd**.
3. Under **Best Match**, right-click **Command Prompt**.
4. Click Run as Administrator.
![ssh_windows_3.png](../_images/ssh_windows_3.png)
Step 3: Use OpenSSH to Generate an SSH Key Pair[](#step-3-use-openssh-to-generate-an-ssh-key-pair "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------------------
Finally, run **ssh-keygen** to generate the public and private keys for SSH access to the CloudFerro Cloud server.
1. In command prompt, type the following:
```
ssh-keygen
```
![ssh_windows_4.png](../_images/ssh_windows_4.png)
Press **ENTER** three times. This will
> * create folder **/.ssh** for the keys as well as
> * file **id\_rsa** for secret key and
> * file **id\_rsa.pub** for public key.
These are the default values.
Warning
If you have created other keys in those same locations, you can define other folder and files instead of just pressing Enter three times.
![ssh_windows_5.png](../_images/ssh_windows_5.png)
To see the generated files, navigate to **C:/Users/<Your\_User\_Name>/.ssh** with your file explorer.
![ssh_windows_6.png](../_images/ssh_windows_6.png)
The image shows default values of files for private and public keys, in files **id\_rsa** and **id\_rsa.pub**, respectively.
What To Do Next[](#what-to-do-next "Permalink to this headline")
-----------------------------------------------------------------
For Windows 11, see this guide: [How to Create SSH Key Pair in Windows 11 On CloudFerro Cloud](How-To-Create-SSH-Key-Pair-In-Windows-11-On-CloudFerro-Cloud.html)
Put your public key on remote server and use your private key to authorize to your VM. To add the public key to remote server see
[How to add SSH key from Horizon web console on CloudFerro Cloud](../networking/How-to-add-SSH-key-from-Horizon-web-console-on-CloudFerro-Cloud.html)
To connect to the server from Windows:
[How to connect to a virtual machine via SSH from Windows 10 Command Prompt on CloudFerro Cloud](How-to-connect-to-a-virtual-machine-via-SSH-from-Windows-10-Command-Prompt-on-CloudFerro-Cloud.html)
[How to access a VM from Windows PuTTY on CloudFerro Cloud](How-to-access-a-VM-from-Windows-PuTTY-on-CloudFerro-Cloud.html)

View File

@ -0,0 +1,81 @@
How to access a VM from Windows PuTTY on CloudFerro Cloud[](#how-to-access-a-vm-from-windows-putty-on-brand-name "Permalink to this headline")
===============================================================================================================================================
The link below shows how to generate and add rsa key pairs:
[How to connect to a virtual machine via SSH from Windows 10 Command Prompt on CloudFerro Cloud](How-to-connect-to-a-virtual-machine-via-SSH-from-Windows-10-Command-Prompt-on-CloudFerro-Cloud.html.md)
In this tutorial key.pem is equivalent to the id\_rsa file that we obtain in a zip package after the key generation process.
To connect via PuTTY, copy your Virtual Machine floating IP address and save it somewhere.
![Screenshot 1](../_images/01.png)
Open PuTTYGen to converse the private key file to ppk format. (This format is being ussed by the PuTTY client). Click on the “Load” button.
![Screenshot 2](../_images/02.png)
Choose the key file. Make sure that you have set the visibility to “All files”.
![Screenshot 3](../_images/03.png)
A prompt window informing you about succesful import will appear.
![Screenshot 4](../_images/04.png)
Save your imported private key in the ppk format.
![Screenshot 5](../_images/05.png)
![Screenshot 6](../_images/06.png)
Open PuTTY Configuration tool and focus on the marked labels:
![07.png](../_images/07.png)
**Description:**
1. Host Name( or IP address) → Write down the floating IP address that you may find in the Horizon Panel
2. Port → Assign a SSH service port, by default it is set up on 22
3. Connection type → Check SSH
Configuration has been set up. Enroll the SSH branch.
![08.png](../_images/08.png)
Enroll the Auth branch and provide a private key file by clicking “Browse”, selecting your key and clicking “Open”.
![09.png](../_images/09.png)
![10.png](../_images/10.png)
(Optionally) Expand the “Connection” list and click on the “Data”.
Set Auto-login username: eouser.
![11.png](../_images/11.png)
For your comfort you can save the session for future use by naming it and saving changes.
![12.png](../_images/12.png)
Choose the proper session and click on the “Open” button to commence the ssh session:
![13.png](../_images/13.png)
If you are connecting to your VM via PuTTY for the first time, we recommend that you save the rsa key fingerprint by choosing Yes (Tak) for future connections from your computer.
![14.png](../_images/14.png)
If you logged in correctly you should see the following at the bottom of the screen:
```
eouser@yourInstanceName:~$
```
You are now correctly logged into your VM via SSH from another host.
![15.png](../_images/15.png)
If you would like to learn more about **PuTTYgen**, its installation and usage, visit the website <https://www.puttygen.com>.

View File

@ -0,0 +1,50 @@
How to connect to a virtual machine via SSH from Windows 10 Command Prompt on CloudFerro Cloud[](#how-to-connect-to-a-virtual-machine-via-ssh-from-windows-10-command-prompt-on-brand-name "Permalink to this headline")
=========================================================================================================================================================================================================================
Requirements[](#requirements "Permalink to this headline")
-----------------------------------------------------------
The private and public keys were created and saved on the local disk of your computer. ([How to create key pair in OpenStack Dashboard on CloudFerro Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-CloudFerro-Cloud.html))
During the virtual machine creation procedure, the generated key was attached. ([How to create new Linux VM in OpenStack Dashboard Horizon on CloudFerro Cloud](../cloud/How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-CloudFerro-Cloud.html))
A floating IP was assigned to your VM. ([How to Add or Remove Floating IPs to your VM on CloudFerro Cloud](../networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-CloudFerro-Cloud.html))
Check in “Installed features” if the OpenSSH client is installed, if not click **Add a feature**, search for **OpenSSH client** and install it.
![c1.png](../_images/c1.png)
Step 1 Go to the folder containing your SSH keys[](#step-1-go-to-the-folder-containing-your-ssh-keys "Permalink to this headline")
-----------------------------------------------------------------------------------------------------------------------------------
Run the Command Prompt and change the current folder to the folder where you store your keys.
For example:
```
cd c:\Users\wikit\sshkeys
```
Step 2 Connect to your VM using SSH[](#step-2-connect-to-your-vm-using-ssh "Permalink to this headline")
---------------------------------------------------------------------------------------------------------
If the name of your key is **id\_rsa** and the floating IP of your virtual machine is **64.225.129.203**, type the following command:
```
ssh -i id_rsa [email protected]
```
If the text before the cursor changed to [eouser@test](/cdn-cgi/l/email-protection#b3d6dcc6c0d6c1959080848895908681889590878b88c7d6c0c7) (assuming the name of your virtual machine is **test**), the connection was successfully established. Before that, you may get the message that the authenticity of the host cant be established and the following question:
```
Are you sure you want to continue connecting (yes/no/[fingerprint])?
```
If you got that message, it typically means that your computer has never connected to your VM via SSH before and you should confirm that you are willing to connect by typing “yes” and pressing Enter.
You should now be able to issue commands to your VM:
![c4.png](../_images/c4.png)

View File

@ -0,0 +1,2 @@
WINDOWS[](#windows "Permalink to this headline")
=================================================