NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Strange ssh hangups, netbsd-9 GENERIC
On Fri, 12 Mar 2021, Louis Guillaume wrote:
OpenSSH_8.0 NetBSD_Secure_Shell-20190418-hpn13v14-lpk, OpenSSL 1.1.1g 21 Apr
2020
Is this the server or the client? Can you post both?
ssh -vvv user%ser.ver@localhost 'dd if=/dev/zero bs=1m count=1 2>/dev/null' >out.bin
2>ssh.log.txt
Actually out.bin is 0b after running that - but it doesn't surprise me. Would
it actually send text to stdout for each \0 returned by dd? Seems like it
would basically be an empty string. The stderr is below. Thanks for looking!
You should get a 1MB file if /dev/zero exists, and is readable on
the server (and the dd on the server understands `bs=1m'):
$ ssh -vvv u%s.loc@localhost 'dd if=/dev/zero bs=1048576 count=1 2>/dev/null' >out.bin 2>ssh.log.txt
$ ls -l
total 1036
-rw------- 1 rvp wheel 1048576 Mar 12 13:15 out.bin
-rw------- 1 rvp wheel 11282 Mar 12 13:15 ssh.log.txt
$ hexdump -C out.bin
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00100000
$
OpenSSH_8.1p1, LibreSSL 2.7.3
What OS & client is this? Can you try a different client?
debug1: Exit status -1
The client is not exiting cleanly. It should--even if there
is a command execution error on the server.
-RVP
Home |
Main Index |
Thread Index |
Old Index