When I use SFTP to log on to an ECS Linux server, I receive this error: Received unexpected end-of-file from SFTP server.
When I use SFTP to log on to an Alibaba Cloud ECS Linux server, I receive an error
Collapse
X
-
Solution:
Modify the SSH configuration file to enable the SFTP function:
vi /etc/ssh/sshd_config
Remove the "#" before Subsystem sftp /usr/libexec/openssh/sftp-server, meaning to "uncomment" this configuration line.
Restart the SSH service to let the configuration take effect and then reconnect to the FTP for testing.
service sshd restart -
Alibaba Cloud will make every effort to provide suggestions on installing, configuring,service host and troubleshooting the third-party software listed below on Alibaba Cloud ECS and operating system to ensure that the software runs normally.
- OpenVPN, VNCServer, SSH, SFTP, FTP, and Windows route and remote access
- Web server
Apache, IIS, and Nginx
- Database
MySQL and Microsoft SQL Server
- System firewall
Linux iptables and Windows FirewallComment
-
For Linux ECS, SSH client is the primary channel for O&M. Management terminals can be used for emergency O&M, or troubleshooting in case of exceptions during client logon. Check this link for Troubleshooting steps for SSH logon failure: https://www.alibabacloud.com/help/faq-detail/41470.htm, this will sure help you out...Comment
Comment