Disable Telnet Login with message?

Alan alan at clueserver.org
Thu Jul 17 20:43:55 UTC 2008


> I'm wondering if anyone has any thoughts on how to disable telnet logins,
> but display a message that says "please use ssh".
>
>
>
> telnet to ssh migration...
>
>
>
> I'm using xinetd with telnet, I've tried setting the instances=0 in
> /etc/xinetd/telnet with the message in /etc/issue.net but it didn't' work
> as
> expected.
>
>
>
> Any ideas?

Have you tried a shell script that prints the message to standard out?




More information about the redhat-list mailing list