jenkins Message: [Failed to connect SFTP channel. Message [failed to send channel request]]

jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect SFTP channel. Message [failed to send channel request]]
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection Message: [Failed to connect SFTP channel. Message [failed to send channel request]]

目标机:

vim  /etc/ssh/sshd_config
Subsystem      sftp    /usr/libexec/openssh/sftp-server 
改为
Subsystem       sftp    internal-sftp
service sshd restart

jenkins Message: [Failed to connect SFTP channel. Message [failed to send channel request]]
滚动到顶部