NonStop Servers
1820072 Members
2774 Online
109608 Solutions
New Discussion юеВ

Couldn't read packet: session disconnected by remote ssh daemon--:--

 
SOLVED
Go to solution
Jprakash89
Occasional Collector

Couldn't read packet: session disconnected by remote ssh daemon--:--

I'm facing this SFTP error "Couldn't read packet: session disconnected by remote ssh daemon--:--" for GET command to download a file from a file server from HP Nonstop Tandem server.

This error occurs ONLY when we try to download files bigger than 100,000 Bytes.

Could you please suggest if any settings need to be done on HP NONSTOP side or on file server side ? 

Log sample:

$ABC SUBVOL 2> sftp  /name $XYZ3/ -S $SSH FILEPROVIDER@ssh.FILESERVER.com

SFTP client version T9999L02_31MAR2022_comForte_SFTP_10_15_0

Connecting to ssh.FILESERVER.com via SSH2 process $SSHB3 ...

Secure Connection is ready to initiate File Transfer

sftp> cd folder

sftp> get file1 $ABC.SUBVOL1.FILETEST

Fetching /folder/file1 to /G/ABC/SUBVOL1/FILETEST

----------------------------------  -------- --- ------- ----------

Filename                            BytesNow   % Bytes/s Remaining

----------------------------------  -------- --- ------- ----------

Couldn't read packet: session disconnected by remote ssh daemon--:--

STOPPED: $XYZ3

CPU time: 0:00:00.017

3: Premature process termination with fatal errors or diagnostics

Termination Info: 255

>

3 REPLIES 3
Suman_1978
HPE Pro
Solution

Re: Couldn't read packet: session disconnected by remote ssh daemon--:--

Hi,

Were you able to solve this issue?

Workaround, if you are using sftp -R 5 -S $<ssh2> username@hostname

Specify a lower number for -R [num-requests] option.

Thank You!
I work with HPE but opinions expressed here are mine.
HPE Tech Tips videos on How To and Troubleshooting topics



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Jprakash89
Occasional Collector

Re: Couldn't read packet: session disconnected by remote ssh daemon--:--

Thanks a lot for your suggestion. I tried to include -R option which resolved the problem of "Couldn't read packet: session disconnected by remote ssh daemon--:" 

Alternatively I tried with Buffer Option -B (-B 29696)  which also resolved the issue. So we decided to go with including -B in SFTP cpmmand. 

 

Sunitha_Mod
Moderator

Re: Couldn't read packet: session disconnected by remote ssh daemon--:--

Hello @Jprakash89,

That's awesome! 

We are extremely glad to know the problem has been resolved and we appreciate you for keeping us updated. 



Thanks,
Sunitha G
I'm an HPE employee.
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo