SSh from Hap lite to SG300

Hello!

I have a hap lite router and i want to ssh from it into a Cisco SG300-28PP using rsa/dsa key.
Ssh using username and password works fine but i can’t get into it via using priv/public key. With putty i succesfully authenticated with keys but from the router i really dont know how to. I’m already added the keys to the router but when i try to ssh nothing happens.