
bash - sftp gives an error: "Received message too long" and what …
If I had searched for "sftp/scp fails but ssh is OK" I would have been reminded of the solution sooner! Put simply, .bashrc, .bash_profile, .cshrc, .profile, etc., have to be silent for non …
What is the meaning of "stat" in the SFTP error message "Couldn't …
I've seen this when using SFTP; for example when I try to remove a file that isn't on the remote server: sftp> RM coa.dat.gz Couldn't stat remote file: No such file or directory Removing …
SFTP Error - Couldn't read packet: Connection reset by peer
You could use proftpd which offers a SFTP frontend. This way you can unite SFTP, FTP and FTP/S in one daemon. However you cannot use port 22 for SFTP or you'll have to give up on …
SFTP Error: open for write: permission denied - Server Fault
The chroot directory should not be /var/www, rather /var/www/sftp or some such which you then give the proper read/write permissions to for the SFTP user/group. – Daniel Commented Mar …
centos - How solve error with sftp: Couldn't read packet: …
Jun 13, 2018 · Your sftp client is reporting that the remote end just abruptly terminated the connection.. In situations like this, it would be best to read the logs of the server side: if the …
ssh - SFTP logging: is there a way? - Server Fault
Oct 11, 2009 · The same switches around logging for sftp-server also work for internal-sftp. Here's an example from my /etc/ssh/sshd_config: Subsystem sftp internal-sftp -f AUTH -l INFO With …
sftp "remote open failure" - Unix & Linux Stack Exchange
Aug 9, 2019 · Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for …
SFTP permission denied but SSH works fine - Server Fault
Nov 12, 2015 · I keep getting Permission denied errors while attempting to upload changes to a file via SFTP, however it works fine when using SSH directly as the same user. The file I am …
linux - sftp errors with connection closed - Server Fault
Aug 9, 2020 · I'm trying to sftp into an Amazon Linux system w/ a password. I created an account, 'amitd', set the password, and I modified /etc/ssh/sshd_config to set 'PasswordAuthentication …
Capture errors in a SFTP script - Unix & Linux Stack Exchange
Mar 14, 2015 · Handling errors in SFTP is a pain: the SFTP scripting language doesn't have conditional constructs; to do anything other than a predefined sequences of commands, you …