【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】
[root@openEuler ~]# cat /etc/openEuler-latest
openeulerversion=openEuler-23.03
compiletime=2023-02-16-17-10-41
gccversion=10.3.1-22.oe1
kernelversion=6.1.8-
openjdkversion=1.8.0.362.b09-2.oe1
[root@openEuler sftp_conf]# rpm -q openssh
openssh-9.1p1-2.oe2303.aarch64
【问题复现步骤】
配置对端环境
sftp_user=sftptest
sftp_password=Huawei@SYS3
groupadd sftpgroup;useradd sftptest -s /sbin/nologin -g sftpgroup
mkdir -p /temp/sftptest;chown root:sftpgroup /temp/sftptest;chmod 755 /temp/sftptest
mkdir -p /temp/sftptest/upload;chown sftptest:sftpgroup /temp/sftptest/upload;chmod 755 /temp/sftptest/upload
echo > /etc/security/opasswd;echo $sftp_password | passwd $sftp_user --stdin > /dev/null 2>&1
本端执行
sftp -o StrictHostKeyChecking=no -o ConnectTimeout=300 sftptest@9.82.162.154(对端ip)
【出现概率(是否必现,概率性错误)】
必现
【预期结果】
openEuler-22.03-LTS-SP1
回显为:Couldn't stat remote file: No such file or directory
【实际结果】
回显为:stat remote: No such file or directory
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
Hi sym12321, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Networking, and any of the maintainers: @Randy.Wang , @seuzw , @luzhihao , @kircher , @gebidelidaye , @Apricity
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
openEuler-23.03 openssh社区版本为9.1p1,该版本(https://anongit.mindrot.org/openssh.git/commit/?id=d5981b1883746b1ae178a46229c26b53af99e37a)中,更改了当sftp进入不存在目录的debug描述。具体更改内容如下:
登录 后才可以发表评论