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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IvanH
    New Member
    • Nov 2017
    • 51

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

    When I use SFTP to log on to an ECS Linux server, I receive this error: Received unexpected end-of-file from SFTP server.
  • Andrea1701
    New Member
    • Nov 2017
    • 34

    #2
    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

    Comment

    • Hitesh chawla
      New Member
      • Feb 2018
      • 1

      #3
      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

      Comment

      • ameliawilson
        New Member
        • Feb 2018
        • 3

        #4
        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

        Working...