the fast, reliable localhost tunneling solution

Pagekite Debian packages

By Bjarni Rúnar Einarsson 2021-08-25, 00:19 0.4.4 and up are available as .deb packages and automatic updates are provided by our apt repository.

Note: is also available from the Debian project itself (and Ubuntu as well); those packages are built by the distribution maintainers, not by us - so they tend to be slightly older, but probably comply better with the standard Debian policies! We provide our own repository and packages for those who always want the latest, most up-to-date versions of PageKite.


If you would like to subscribe to our repository:

# Required (at least on Raspbian) to support key-ring import
sudo apt-get update 
sudo apt-get install dirmngr

# Add our repository to /etc/apt/sources.list
echo deb pagekite main | sudo tee -a /etc/apt/sources.list

# Add the PageKite packaging key to your key-ring
sudo apt-key adv --recv-keys --keyserver AED248B1C7B2CAC3

# Refresh your package sources by issuing
sudo apt-get update

# Install pagekite !
sudo apt-get install pagekite

See the ConfigureYourSystem page for details on how to integrate PageKite with your operating system so it runs in the background and starts automatically when your computer boots.

(Historic information about older efforts has been moved to the OldDebianPackages page.)

Updating your PageKite packaging key

If you have been using our Debian packages for some time and updates have suddenly stopped working or apt-get update displays the message "Signature by key 8779492397B20AA4998C0EA6AED248B1C7B2CAC3 uses weak digest algorithm", you may need to update your local copy of our signing key:

# Update PageKite signing key
sudo apt-key adv --recv-keys --keyserver AED248B1C7B2CAC3

Alternately, you might want to refresh all of your repository keys:

# Update all repository keys
sudo apt-key adv --refresh-keys --keyserver

Either of the above commands should suffice to allow upgrades and installs from the PageKite repository again.

Migrating from

If you have a working configuration when running from the command line, but would like to switch to using the background daemon, you will need to copy your settings from ~/.pagekite.rc (or pagekite.cfg on Windows) into one or more files in /etc/pagekite.d and then restart the service.

For example:

 # Copy bob's pagekite settings and use system-wide
 sudo cp ~bob/.pagekite.rc /etc/pagekite.d/10_account.rc

 # Start the PageKite background service
 sudo systemctl restart pagekite

Replace "bob" in the above example with the username of the user who has until now been running

[ Back to How-Tos ]


  1. Bjarki Hilmarsson said on 2012-02-12, 22:58
    Can't install debian package:
    " sudo echo deb pagekite main | tee -a /etc/apt/sources.list
    tee: /etc/apt/sources.list: Permission denied
    [sudo] password for bjarki:
    deb pagekite main
    no problem with keyring and update and then:
    sudo apt-get install pagekite
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package pagekite
  2. Bjarni Rúnar Einarsson said on 2012-02-13, 16:14
    That's your problem: tee: /etc/apt/sources.list: Permission denied

    You need to put the sudo on the tee command, so:

    echo deb pagekite main | sudo tee -a /etc/apt/sources.list
  3. fileavi said on 2012-07-23, 16:51
    thank's for your code..
  4. Amos said on 2012-08-18, 15:48
    This is great! Any chance of building arm .deb packages for users of Raspberry Pi, the $25 dollar linux computer? (Makes a great host for static content!)
  5. Bjarni Rúnar Einarsson said on 2012-08-21, 13:42
    Amos, that should be no problem - our packages are actually noarchs. I have added the armhf architecture to our repos, please let me know if it works or fails for you!
  6. Nathan Bookham said on 2012-12-19, 11:43
    Any news on the Raspberry Pi - does it work?
  7. Hrafnkell said on 2012-12-29, 13:11
    The .deb packages work fine on the wheezy-raspian distribution for the Rasperry Pi.
  8. Dick Thomas said on 2013-03-05, 13:41
    sudo apt-key adv --recv-keys --keyserver AED248B1C7B2CAC3
    now reports no host found
  9. WagoL said on 2013-03-23, 20:06
    Can't add the keys either.
  10. Jan said on 2013-05-23, 11:26
    I successfully installed Pagekite on my Ubuntu Server but afterwards receive the error " command not found". The problem still remain after reboot.
  11. Bjarni Rúnar Einarsson said on 2013-07-26, 02:12
    Note that the Debian package installs the command as just "pagekite", without the .py suffix.
  12. Petter Reinholdtsen said on 2013-11-03, 11:22
    How are these deb packages created? There is no source package (aka dsc + tarball), so the build rules for the packages are missing in the repository. We consider using pagekite with the FreedomBox project, and for that we want the package in Debian. See for the status of this work.
  13. Ruben de Vries said on 2014-01-06, 09:55
    I'm also no longer able to access the server ... I worked 2 weeks ago ...
  14. Ruben de Vries said on 2014-01-06, 10:01
    ah I figured our my (company)firewall is blocking ports > 1024 and it requires port 11371 to get the key, I ran the following on a remote server which was outside of hte firewall:

    gpg --keyserver --recv-key AED248B1C7B2CAC3
    gpg -a --export AED248B1C7B2CAC3

    then copy pasted the output from the export and did:

    echo "<paste output here>" | sudo apt-key add -
  15. David Schreiner said on 2016-01-14, 11:55
    issue installing on raspberry pi, Debian v 7.8: the very first time i install it seems ok, but if i apt-get autoremove -y pagekite and then reinstall (i am testing a deployment script for use on other machines), the /etc/pagekite.d directory is created but is empty - chmod complains that there are no files there; it seems like the installer hasn't copied them in the second time around. /etc/init.d/pagekite also doesn't exist. any ideas? thanks in advance
  16. Per said on 2017-03-15, 18:38
    On Ubuntu 16.04 installation will fail:
    The following packages have unmet dependencies:
    pagekite : Depends: python-support (>= 0.90.0) but it is not installable
    Depends: python-socksipychain (>= 2.0.15) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    To fix this manually install the following package: `wget && sudo dpkg -i python-support_1.0.15_all.deb`

    The Github issue for reference:

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!