Bug 2218051

Summary: sftp no longer prints username when connected
Product: Red Hat Enterprise Linux 8 Reporter: Sunny Wu <suwu>
Component: opensshAssignee: Dmitry Belyavskiy <dbelyavs>
Status: NEW --- QA Contact: Marek Havrila <mhavrila>
Severity: low Docs Contact:
Priority: low    
Version: 8.8CC: jjelen, mhavrila, npocs
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sunny Wu 2023-06-28 00:26:36 UTC
Description of problem:

After updating openssh from 8.0p1-16 to 8.0p1-17, sftp no longer prints username when connected. This issue is believed to happen at client side.

=== RHEL8.7

# rpm -qa | grep openssh-clients
openssh-clients-8.0p1-16.el8.x86_64
# sftp root@localhost
root@localhost's password: 
Connected to root@localhost.              <<<<<=====

# sftp root@<rhel88>
Password: 
Connected to root@<rhel88>                <<<<<=====

=== RHEL8.8

# rpm -qa | grep openssh-clients
openssh-clients-8.0p1-17.el8_7.x86_64
# sftp root@localhost
Password: 
Connected to localhost.                   <<<<<=====

# sftp root@<rhel87>
root@<rhel87>'s password: 
Connected to <rhel87>                     <<<<<=====


Version-Release number of selected component (if applicable):

openssh-clients-8.0p1-17.el8_7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:
username is not printed when connected

Expected results:
Retain the existing behaviour. i.e. username should be printed when connected

Additional info:

Comment 1 Dmitry Belyavskiy 2023-06-28 11:48:23 UTC
I don't see any differences in OpenSSH between these 2 versions that could cause such an effect.