Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Can connect via SSH - but not via SFTP? Exit status 127

It most probably means that the /usr/lib/openssh/sftp-server does not exist.

Make sure the Subsystem directive points to an existing path:

Subsystem sftp /usr/lib/openssh/sftp-server

Or actually, nowadays you typically use the internal-sftp instead:

Subsystem sftp internal-sftp

See OpenSSH: Difference between internal-sftp and sftp-server.

Tags:

Sftp

Ssh

Centos

Centos7

Related

Conflicts with PAM configuration files when upgrading system How do you check what version of Server Message Block client a workstation is using on Windows? Firewalld blocks IPv6, ignores config Linux SSH Timeout Is using nested RAID 6+1+0 a good idea? Very Huge Sized Cache of Duplicity MX records, better setup for load balancing and failover What is DNS TXT record "mailru-verification"? Getting gpsd address for ntpd Adding second firewall to ISP connection with multiple subnets? Stackdriver Extractor fails Best Way to Track Brute-Force Username Enumeration / Failed Username Attempts AD

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy