For some reason, when connecting to my Ubuntu 22.04 SSHD, it fails the
ansi detection and when entering text, that text isn't displayed until
I hit enter. This is under a VMWare Workstation Pro Guest with a
Windows 10 Pro Host. I'm logging on with a key, not password. I've
tried both.
Hello Shurato,
Friday August 02 2024 21:58, you wrote to All:
For some reason, when connecting to my Ubuntu 22.04 SSHD, it fails the ansi detection and when entering text, that text isn't displayed until
I hit enter. This is under a VMWare Workstation Pro Guest with a Windows 10 Pro Host. I'm logging on with a key, not password. I've tried both.
You will not get ANSI over a ssh connection normally until you log into
the BBS proper. You will also not see your password echoed in ssh if you are using one but it sounds like your sshd config is wrong.
* In a message originally to Shurato, Sean Dennis said:
Hello Shurato,
Friday August 02 2024 21:58, you wrote to All:
theFor some reason, when connecting to my Ubuntu 22.04 SSHD, it fails
untilansi detection and when entering text, that text isn't displayed
I'veI hit enter. This is under a VMWare Workstation Pro Guest with a Windows 10 Pro Host. I'm logging on with a key, not password.
tried both.
You will not get ANSI over a ssh connection normally until you log into the BBS proper. You will also not see your password echoed in ssh ifyou
are using one but it sounds like your sshd config is wrong.
ANSI is detected by the telnet connection, not SSH. Username (or any other text that should be echoed) is not being echoed in telnet
through sshd, I'm using telnet -E 192.168.0.7 in the forcecommand.
This worked under Debian, I'm not sure what I'm doing wrong; I'm
using the same configuration changes as near as I can tell. I can
supply my sshd_config if you think that would help.
ANSI is detected by the telnet connection, not SSH. Username (or any other text that should be echoed) is not being echoed in telnet
through sshd, I'm using telnet -E 192.168.0.7 in the forcecommand.
This worked under Debian, I'm not sure what I'm doing wrong; I'm using
the same configuration changes as near as I can tell. I can supply my sshd_config if you think that would help.
If I ssh into my Ubuntu VM and then telnet to the BBS it works fine.
It's just using "ForceCommand telnet -E 192.168.0.7" that is causing
the problem.
↑↑
Hello Shurato!
06 Aug 24 18:35, you wrote to me:
ANSI is detected by the telnet connection, not SSH. Username (or any other text that should be echoed) is not being echoed in telnet through sshd, I'm using telnet -E 192.168.0.7 in the forcecommand. This worked under Debian, I'm not sure what I'm doing wrong; I'musing
the same configuration changes as near as I can tell. I can supplymy
sshd_config if you think that would help.
Is your telnet running in 'linemode' or 'single character' mode?
Hello Shurato!
06 Aug 24 18:51, you wrote to you:
If I ssh into my Ubuntu VM and then telnet to the BBS it works fine. It's just using "ForceCommand telnet -E 192.168.0.7" that is causing the problem.
Try putting the telnet command in a script. Note this is shown using ssh keys, and not u/p style.
ANSI is detected by the telnet connection, not SSH. Username (or any
other
text that should be echoed) is not being echoed in telnet through
sshd, I'm
using telnet -E 192.168.0.7 in the forcecommand. This worked under
Debian,
I'm not sure what I'm doing wrong; I'm using the same configuration
changes as near as I can tell. I can supply my sshd_config if you
think that
would help.
That worked! Originally I thought it didn't, but I had forgotten to restart the sshd. Thanks!
ANSI is detected by the telnet connection, not SSH. Username (or any other text that should be echoed) is not being echoed in telnet
through sshd, I'm using telnet -E 192.168.0.7 in the forcecommand.
This worked under Debian, I'm not sure what I'm doing wrong; I'm
using the same configuration changes as near as I can tell. I can
supply my sshd_config if you think that would help.
My recollection is that you are using DOS bbs software, right?
Here, with my DOS BBS software, GT Power, most telnet callers need to
call here using a connection type of "RAW" instead of "telnet" to prevent some odd issues like you are describing.
I do not use SSHD with the DOS BBS at all as I expect that bad things
will happen. If you want to offer SSH connections, you will probably
want to look at using mystic or synchronet as a front-end for the DOS BBS and allow them to handle the SSH bits.
It sounds like you did have it working under debian, but it doesn't work with ubuntu. My experience with both is that a lot of things that work just fine with debian proper don't work with ubuntu, even though it is a fork of debian. ubuntu likes to stay on the leading edge and, IMHO, the software is not always tested as well as debian stable. It is also much more difficult for a stable system to be the result of a dist-upgrade under ubuntu.
Is there a reason you changed from debian to ubuntu?
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 255 |
Nodes: | 10 (0 / 10) |
Uptime: | 152:41:55 |
Calls: | 1,724 |
Calls today: | 4 |
Files: | 4,107 |
D/L today: |
10 files (9,986K bytes) |
Messages: | 392,939 |