Answer the question
In order to leave comments, you need to log in
How to edit files by sftp in Google Cloud Platform?
Hello.
Created Compute Engine with WordPress installation in 1 click, sftp does not allow editing, deleting, adding files. Tell me a way in which it will be possible to edit files via ftp / sftp
Answer the question
In order to leave comments, you need to log in
Files cannot be edited via ftp/sftp - this is a protocol for file sharing.
Option 1:
1) Go to Compute Engine - VM
2) Click connect via ssh
3) Create a new user (in the same place enter the password)
4) Edit the sshd config
in the line PasswordAuthentication no - change to
5) Restart the ssh service:
6) Connect with data
{
"protocol": "sftp",
"host": "35.238.223.127", // внешний IP ВМ
"port": 22,
"user": "username",
"pass": "verystrong"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question