but it's illegal if encryption is outlawed in Lebanon
I have never heard anything about legislation pertaining to encryption in Lebanon.
Telnet Client like PuTTY
Telnet does not use encryption, you probably mean SSH. There is nothing illegal about SSH'ing into another computer.
Remember, you are already using encryption daily. Any website you access via HTTPS is encrypted with TLS.