Re: Telnet replacement (was: ssh issue that I don't understand)

<[email protected]> Wed, 8 Jul 2026 22:46:22 +0200
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
On Wed, Jul 08, 2026 at 02:24:54PM -0400, Greg Wooledge wrote:
> Someone in this thread mentioned using "socat - tcp:host:port" as a
> replacement for "telnet host port" for manually testing plaintext
> services.
> 
> I just tried this, and learned that the two are not equivalent.
> qpsmtpd is quite insistent that all of its input lines be terminated
> by CR-LF, not by LF.

[...]

> So, I searched through the manual a bit more, and it turns out there's
> an option for that:
> 
> ===============================================================
> hobbit:~$ socat - tcp:localhost:25,crnl

[...]

Heh. See my other post. Great minds... read the docs :-)

Cheers
-- 
t
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCak63HgAKCRAFyCz1etHa
RqARAJ4wbaGORHZe/zC8sly92icnl96yfQCfW1Yigi2BzdPk51QdPicOPO08LQs=
=UvA2
-----END PGP SIGNATURE-----