HI ,
I have telnet server implemented on the server. Now i want the ssh
client to connect to this modified telnet server by adding
encryption/decryption functions in it.

Can I do this easily by just putting the appropriate encrypt/decrypt
functions , session key establishment code from ssh server to telnet

Tunelling is one solution , i can think of . Is there any other easy
alternative for this apart from changing the telnet server code.

Please advice.

Best Regards,