Pagekite

$ wget -c https://pagekite.net/pk/pagekite.py $ chmod +x pagekite.py $ nano .pagekite.rc $ ./pagekite.py $ screen -S pagekite

When you upgrade the Raspbian to jessie, you will get an error message:

Traceback (most recent call last):
  File "tmp/scr/pagekite.py", line 249, in <module>
    exec __FILES[".SELF/sockschain/__init__.py"] in sys.modules["sockschain"].__dict__
  File "<string>", line 130, in <module>
  File "<string>", line 132, in SSL
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

Install python-openssl

  • Error
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to somesite.pagekite.me [XXX.YYY.ZZZ.22] port 22.
    debug1: Connection established.
    debug1: SELinux support disabled
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_rsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_rsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_dsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_dsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_ecdsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_ecdsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_ed25519 type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /home/stwn/.ssh/id_ed25519-cert type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-3
    ssh_exchange_identification: Connection closed by remote host
  • Debug with /usr/sbin/sshd -ddd -p 22 and try to connect to it.
  • Install corkscrew and add .ssh/config:
    Host *.pagekite.me
    CheckHostIP no
    ProxyCommand /usr/bin/corkscrew %h 443 %h %p
  • prun.sh
 
doc/pagekite.txt · Last modified: 2015/11/14 13:27 by stwn · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki