The Secure SHell (SSH) protocol requires all implementations to support public key authentication method ("Publickey") for authentication purposes. HyperText Transfer Protocol (HTTP) applications which provide a SSH client over the web browser need to support "Publickey". However, restrictions in HTTP, such as same origin policy, make it difficult to perform such authentications. In this paper, a system to perform "Publickey" authentication over HTTP is provided. It is ensured that no compromise is made that would pose a security risk to SSH protocol.