how to implement telnet under ssh ?

how to implement telnet under ssh ?

am 18.10.2004 05:26:40 von any

Hi,
I use linux server A. first from linux server ssh to remote host B(public
ip), then from host B telnet to another host C (private ip).
A->SSH->B->telnet->C.
after login to B, how to telnet to C? alway get error info "file handle
cannot be opened"

Thanks

Re: how to implement telnet under ssh ?

am 18.10.2004 10:05:36 von Tintin

"any" wrote in message
news:NtydnUgwuYtape7cRVn-oA@rogers.com...
> Hi,
> I use linux server A. first from linux server ssh to remote host B(public
> ip), then from host B telnet to another host C (private ip).
> A->SSH->B->telnet->C.
> after login to B, how to telnet to C? alway get error info "file handle
> cannot be opened"

Sounds like a job for one of the CPAN expect modules.