423,498 Members | 1,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,498 IT Pros & Developers. It's quick & easy.

When I use SFTP to log on to an Alibaba Cloud ECS Linux server, I receive an error

P: 51
When I use SFTP to log on to an ECS Linux server, I receive this error: Received unexpected end-of-file from SFTP server.
Feb 13 '18 #1
Share this Question
Share on Google+
3 Replies


P: 34
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
Feb 14 '18 #2

P: 1
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 Firewall
Feb 14 '18 #3

P: 3
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...
Feb 14 '18 #4

Post your reply

Sign in to post your reply or Sign up for a free account.