<div dir="ltr"><div>We&#39;ve had several night time scripts that use SFTP to send files to overnight</div><div>All has worked fine until this morning - I get email confirmations and they all had</div><div>&quot;Couldn&#39;t read packet: Connection reset by peer&quot;</div>
<div><br></div><div>So I tried to manually connect and got the same thing.</div><div>I then used FileZilla on my PC and connected without issue to one of my vendors who we use username/password with - no keys involved</div>
<div><br></div><div>So I called him - he can see me login from FileZilla and from my server - but when connecting from my server is shows I immediately logout too....</div><div><br></div><div>Again, this has been working for years up until last night - I have not installed any other packages, did a full server reboot, don&#39;t see any errors in log files, etc.</div>
<div><br></div><div>Any idea what would be causing this?  I double checked permissions and don&#39;t see anything that&#39;s glaring...</div><div>I can&#39;t even sftp to localhost...I get the same thing....</div><div>I removed localhost from known_hosts in ~/.ssh directory</div>
<div>then   sftp localhost     I get the standard &#39;The authenticity of localhost can&#39;t be established blah blah blah....Are you sure you want to continue connecting?  I type yes and get the same </div><div>Can&#39;t read packet: Connection reset by peer....</div>
<div>But I do get our standard FTP disclaimer so I know it&#39;s &quot;connecting&#39; after I put &#39;yes&#39; </div><div>It also re-adds the localhost to known_hosts file - so that helped me confirm it doesn&#39;t appear to be permissions....???</div>
<div><br></div><div>Really baffled here.....out of ideas where to look.....</div><div><br></div><div>Any one run across this before?</div><div><br></div><div>Thanks</div><div>Scott</div></div>