Wordpress 试图scp到EC2实例,是否仅表示sftp?
[……] 有人能告诉我如何允许ssh/scp连接吗Wordpress 试图scp到EC2实例,是否仅表示sftp?,wordpress,ssh,amazon-ec2,ftp,Wordpress,Ssh,Amazon Ec2,Ftp,[……] 有人能告诉我如何允许ssh/scp连接吗 谢谢您需要修改服务器上的sshd\u config,然后重新启动sshd守护程序。配置可能包含以下内容 debug1: Entering interactive session. debug1: pledge: network debug1: Sending command: scp -v -p -t /var/www/html/wp-content/themes/ This service allows sftp connections on
谢谢您需要修改服务器上的
sshd\u config
,然后重新启动sshd
守护程序。配置可能包含以下内容
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending command: scp -v -p -t /var/www/html/wp-content/themes/
This service allows sftp connections only.
如果您将其注释掉,您应该能够获得ssh
和scp
访问权限。就是这样:)只是来回答我自己的问题,但无论如何,谢谢!
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending command: scp -v -p -t /var/www/html/wp-content/themes/
This service allows sftp connections only.
ForceCommand internal-sftp