I constantly need to type some hostnames / IPs to telnet, and sadly they don't support ssh.
Is there a config file for telnet similar to ssh? I don't have admin access to change the
telnet reads from ~/.telnetrc at startup, but that won't help you with typing long hostnames. For that you should make yourself some shell functions like this:
Put them in your .bashrc, or .zshrc or whatever your shell reads at startup and then type