To access a Windows Server using FileZilla with a keyfile, follow these steps:
-
Install OpenSSH Server on the Windows Server and enable port 22 inbound rule.
-
Ensure the server is accessible via FileZilla.
Here's the step-by-step guide with detailed context:
Accessing Windows Server using FileZilla with a Keyfile
First, you need to install OpenSSH Server on your Windows Server and enable port 22 inbound rule.
Installing OpenSSH Server on Windows Server
-
Open PowerShell as an administrator.
-
Run the following command to install OpenSSH Server:
Install-WindowsFeature OpenSSH -IncludeManagementTools
- Restart the server to apply the changes.
Enabling port 22 inbound rule
-
Open Windows Defender Firewall with Advanced Security.
-
Navigate to Inbound Rules > New Rule > Port > Specific local ports > 22 > Next.
-
Select Allow the connection > Next > Name the rule (e.g., SSH) > Finish.
Now, your Windows Server should be accessible via FileZilla.
Accessing the Server using FileZilla
-
Open FileZilla.
-
In the Host field, enter the IP address or hostname of your Windows Server.
-
Set the Protocol to SSH.
-
In the Port field, enter 22.
-
Click on the "Keyfile" button and select the private key file (.ppk) for authentication.
-
Fill in your username and click on Quickconnect.
If the connection is successful, you'll be prompted to enter your password. After entering the password, you'll be able to access your Windows Server files via FileZilla.