错误:
# sftp stuart@10.10.29.23Write failed: Broken pipeCouldn't read packet: Connection reset by peer
解决方法:
# su - stuartsu: cannot set user id: Resource temporarily unavailable (实际是这个错误)# vim /etc/security/limits.d/90-nproc.conf# Default limit for number of user's processes to prevent# accidental fork bombs.# See rhbz #432903 for reasoning.* soft nproc 65535root soft nproc unlimited# logoutsftp stuart@10.10.29.23Connecting to 10.10.29.23...stuart@10.10.29.23's password: sftp>