Does anyone know why the password is shown, and how to get it to not echo wh the user types it in?
Re: openbsd telnet to serial
By: bbsing to All on Mon Nov 24 2025 09:36 pm
Does anyone know why the password is shown, and how to get it to not echo wh the user types it in?
Have you tried using a raw connection into it instead of telnet? Try this for science.. make sure you have netcat (nc)
installed.
Create a file called raw.sh with this in it:
settings=$(stty -g)
stty raw -echo
nc $1 $2
stty $settings
then 'chmod +x raw.sh' and then './raw.sh ipaddress port'. Just one thing to note, when you finally disconnect, you need to hit
a
key to return to your prompt.
The reason for this is telnet does some negotiation on connect, and you're not running telnetd. Your client says "Hey, let's
agree
on some stuff!" but your server isn't listening for that.
Re: openbsd telnet to serial
By: phigan to bbsing on Wed Nov 26 2025 05:43:54
Re: openbsd telnet to serial
Have you tried using a raw connection into it instead of telnet? Try this for science.. make sure you have netcat (nc)
installed.
Create a file called raw.sh with this in it:
settings=$(stty -g)
stty raw -echo
nc $1 $2
stty $settings
then 'chmod +x raw.sh' and then './raw.sh ipaddress port'. Just one thing to note, when you finally disconnect, you need to
hit
a
key to return to your prompt.
The reason for this is telnet does some negotiation on connect, and you're not running telnetd. Your client says "Hey, let's
agree
on some stuff!" but your server isn't listening for that.
So somehow I have to get my modem to use telnetd as the program instead of going to getty, then when a client telnet's to my system the password will n
| Sysop: | BrokenMind |
|---|---|
| Location: | Central Pa |
| Users: | 79 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 41:11:36 |
| Calls: | 51 |
| Files: | 6,362 |
| D/L today: |
2 files (1K bytes) |
| Messages: | 26,066 |