Every change to rcert.in reaches the server the same way. A small script on our Windows PC asks the server for a fingerprint of each file, compares it with our copy, and sends only the files that differ, over SSH. No FTP, no File Manager. A typical update takes about a second: the one that published our Hostinger review sent 7 files in 0.8 seconds, while 337 others already matched.

This guide shows the same method as a few PowerShell commands you can run yourself, with nothing to install, and then the extra checks our script makes. It needs SSH, which Hostinger includes with its Premium web hosting plans and higher. For what our plan costs and how its backups work, see our Hostinger review.

How it works

A SHA-256 hash is a 64-character fingerprint of a file's contents: change one letter in the file and the fingerprint changes completely. So instead of comparing dates or sizes, which can mislead, we compare fingerprints:

  1. The server lists the fingerprint of every file in the site's folder.
  2. Your PC works out its own fingerprints and keeps the files whose fingerprint differs, or that the server doesn't have yet.
  3. Those files go up in one tar archive, which the server unpacks in place.
  4. Comparing again should then find nothing left to send.

Files that exist only on the server, such as images your visitors upload, are never touched: the list of files to send only ever comes from your PC.

On Linux or a Mac, rsync does this job, and Hostinger's help pages show how to use it. Windows doesn't come with rsync, but Windows 11 does come with ssh, scp and tar, and that's all this method needs.

One-time setup

You need your site's files on your PC, in the same layout as public_html on the server; here, C:\sites\example.com\public_html. In the commands below, replace example.com with your domain, u123456789 with your Hostinger username and SERVER_IP with your server's IP address.

  1. Turn on SSH. In hPanel, open Advanced → SSH Access and enable it. That page shows the IP address, port and username to use. Hostinger's shared hosting uses port 65002.
  2. Make a key, so that you don't type a password every time. In PowerShell:
    ssh-keygen -t ed25519 -f "$HOME\.ssh\hostinger"
    Get-Content "$HOME\.ssh\hostinger.pub" | Set-Clipboard
    ssh-keygen asks for a passphrase. One protects the key if your PC is lost, but ssh then asks for it each time. The second line copies the public key: add it as an SSH key on hPanel's SSH Access page. The other file, hostinger without .pub, is your private key, and it never leaves your PC.
  3. Give the server a short name. Open ssh's settings file with notepad "$HOME\.ssh\config" and add:
    Host mysite
        HostName SERVER_IP
        Port 65002
        User u123456789
        IdentityFile ~/.ssh/hostinger
    From now on, mysite stands for all of that in ssh and scp.
  4. Connect once with ssh mysite. The first time, ssh shows the server's fingerprint and asks whether to trust it. Type yes only if it matches the one on hPanel's SSH Access page. Then type exit.

Step 1: find what changed

Open PowerShell in your local copy of the site (cd C:\sites\example.com\public_html). First, get the server's fingerprints:

$server = ssh mysite "cd domains/example.com/public_html && find . -type f -exec sha256sum {} +"
$server.Count

The count is the number of files on the server. If it shows 0, or an error, fix the connection before going on: without a list from the server, every file would look new.

Each line from sha256sum is a fingerprint, two spaces and a path. Now compare them with your files:

$remote = @{}
foreach ($line in $server) { $remote[$line.Substring(66)] = $line.Substring(0, 64) }
$root = (Get-Location).Path
$changed = Get-ChildItem -Recurse -File | ForEach-Object {
    $path = $_.FullName.Substring($root.Length + 1).Replace('\', '/')
    $hash = (Get-FileHash -LiteralPath $_.FullName -Algorithm SHA256).Hash.ToLower()
    if ($remote["./$path"] -ne $hash) { $path }
}
$changed

The last line lists the files to send, changed and new. Read the list before going on. If a file must never go up, such as a settings file with a password, skip it with a line like if ($path -like 'config/*') { return } just after the $path = line.

Step 2: send the changes

tar -cf changes.tar $changed
scp changes.tar mysite:
ssh mysite "umask 022 && tar -xf changes.tar -C domains/example.com/public_html && rm changes.tar"
Remove-Item changes.tar

If Step 1 listed nothing, there's nothing to send, and tar will say so.

Step 3: check that it arrived

Run Step 1 again. This time $changed should print nothing: every file on your PC matches the server's copy. Then open the pages you changed in your browser.

Changed a stylesheet or a script? Visitors' browsers keep CSS and JavaScript files for a while, so they may go on seeing the old one. We add a version to each link, such as site.css?v=20261012, and change it whenever the file changes, so browsers fetch the new copy.

What our script adds

Our own script, written in PHP, does the same three steps, with one SSH connection for each, plus a few safeguards:

Frequently asked questions

Does this delete anything on the server?

No. The archive only adds files or replaces them. Files that exist only on the server stay as they are.

Which Hostinger plans have SSH?

Hostinger says SSH access is available with Premium web hosting plans or greater. You switch it on under Advanced → SSH Access in hPanel.

Can I use rsync instead?

On Linux or a Mac, yes: Hostinger's rsync guide shows the commands, with port 65002. Windows doesn't include rsync, which is why this guide uses ssh, scp and tar.

Why not just use File Manager?

For one file, it's fine. With more, it's easy to miss one or upload the wrong copy, and nothing tells you afterwards whether the server's files match yours. Comparing fingerprints does.

Commands tested in Windows PowerShell 5.1 on Windows 11. The server side uses the same tools our script runs on our Hostinger plan: find, sha256sum and tar. Hostinger's details were checked against its help pages on 30 November 2026.