Skip to content
Advertisement

Tag: telnet

Can GNU Readline handle multiple streams?

I’m building a telnet application which uses GNU Readline to handle console input. Current implementation forks a new child for every new client connection – this assigns one readline instance for each child process. Fork-type network servers are not the most efficient, so I’d like to use poll/epoll instead, but for that readline would have to be configured to work

How to keep telnet connection alive from client side

I have a device as a telnet server but drops the connection if no packet is received in 60 seconds, for some reason this behavior cannot be changed. Putty has a feature to send null packets to the server periodically to keep the session alive, which works fine for me. But some times I have to telnet to the device

Xinetd server connection refused

I’m using xinetd on Fedora. I put a file called telnet inside the etc/xinetd.d folder with the following content: I know xinetd is running because when I do service xinetd status it says active (running). When I do netstat -nltp nothing seems to be running on port 23 and ‘telnet localhost’ returns connection refused. Any ideas? Answer Did you add

Pass Telnet Command to SSH in Bash Script

I’m trying to write a bash to first ssh into a server and then telnet from that server to a ElastiCache Redis endpoint. My Code is the following: telnet.sh I would like to call my bash script and have the user interactively be connected to the Redis Cluster so that the user can enter redis cli commands after invoking telnet.sh.

Advertisement