Don't have Telegram yet? Try it now!
http://blog.amit-agarwal.co.in/2015/03/04/ssh-authorized-keys-limit-ssh-session-custom-command/
ssh authorized keys - limit ssh session to custom command