STFP suddenly failed to log in, no restart, no configuration change, and suddenly an error was reported
ERROR: Received unexpected end-of-file from SFTP server
ERROR: unable to connect to server
status: waiting for retry…
The first possibility:
Password expired, change password, verify this problem, just su (SFTP username) on the server, for example: su Test
If the password prompt has expired, directly change the password, you can log in
Change password command
1. Switch to SFTP user: Su Test
2. Enter the old password for Test
3. Press the prompt to enter a new password. Don’t repeat the old password
Suggestion: The password expiration time can be changed, the default is 90 days, we can change a little longer
The second possibility:
Modify the configuration file and remember to back up the file
1. The vi/etc/SSH/sshd_config
Delete the Subsystem SFTP/usr/libexec/openssh/SFTP – “#” in front of the server,
Save the exit and restart SSH
# service SSHD restart
Then reconnect to the FTP test.
ERROR: Received unexpected end-of-file from SFTP server
ERROR: unable to connect to server
status: waiting for retry…
The first possibility:
Password expired, change password, verify this problem, just su (SFTP username) on the server, for example: su Test
If the password prompt has expired, directly change the password, you can log in
Change password command
1. Switch to SFTP user: Su Test
2. Enter the old password for Test
3. Press the prompt to enter a new password. Don’t repeat the old password
Suggestion: The password expiration time can be changed, the default is 90 days, we can change a little longer
The second possibility:
Modify the configuration file and remember to back up the file
1. The vi/etc/SSH/sshd_config
Delete the Subsystem SFTP/usr/libexec/openssh/SFTP – “#” in front of the server,
Save the exit and restart SSH
# service SSHD restart
Then reconnect to the FTP test.
Read More:
- Linux configuration SFTP server
- ssh can connect but sftp can not connect
- Vs_ Code remote SFTP connects to the server to modify the nginx configuration information and reports all configured authentication methods failed
- Fatal error C1010: unexpected end of file encountered while looking for precompiled header. Did you forget to add “ා include” StdAfx. H to the source
- Syntax error: unexpected end of file problem [two solutions]
- Solve the problem of syntax error: unexpected end of file or syntax error near unexpected token ` fi ‘error
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- [!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.
- Record the pits you stepped on – NSS error – 5938 (PR_ END_ OF_ FILE_ ERROR), curl: (35) Encountered end of file
- Parse error: syntax error, unexpected end of file in XXXXXXXX
- [How to Fix] sslexeption: received fatal Alert: internal_ error
- MYSQL login error: mysqladmin: connect to server at’localhost’ failed
- Winscp failed to upload the file to the server, indicating permission denied with return code 3
- Solve the unexpected end of stream exception thrown by jedis
- gnutls_handshake() failed: A TLS fatal alert has been received
- SQL Server 2008 login 4064 error solution
- SQL Server 2008 18456 error and SA unable to login solution
- The back end cannot receive the parameters passed by the front end
- [Four Solutions] FTP Login Error: 530 Login incorrect.Login failed”
- Sys.webforms.pagerequestmanagerparsererrorexception: unable to parse message received from server