Re: Using tcpsvd for a remote shell
Erich Schubert <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
> What do i need to do to use tcpsvd to create a proper telnetd
> replacement? With sslio it works except for the sh thinking that i'm
> non-interactive even when i give the -i option, and not yet having a
> "login" inbetween.
> Any hints, what do i need to do for this to work properly?
> (Do i need to use a pty? what is the best way to create such?)
FYI:
I managed to strip down a telnetd (from busybox) so i get a working
"telnetd" using tcpd, and a ssl-encrypted telnet using "telnet+stunnel"
at the client side and "tcpsvd+sslio+my-app" as server.
The code is still quite ugly and not yet stripped down enough.
(contains a lot of support for other unices that probably won't work...)
Greetings,
Erich
--
erich@(mucl.de|debian.org) -- GPG Key ID: 4B3A135C (o_
To understand recursion you first need to understand recursion. //\
Die Freunde nennen sich aufrichtig. Die Feinde sind es: Daher V_/_
man ihren Tadel zur Selbsterkenntnis benutzen sollte, als
eine bittere Arznei. --- Arthur Schopenhauer