G
G
ggok2020-12-30 04:56:56
Computers
ggok, 2020-12-30 04:56:56

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

3 answer(s)
C
CityCat4, 2019-03-04
@CityCat4

Tasks? Judging by the fact that there is no video - an office car?

C
CityCat4, 2020-12-30
@CityCat4

Files cannot be edited via ftp/sftp - this is a protocol for file sharing.

R
ReaverJS, 2020-12-30
@ReaverJS

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"
}

Option 2 - through the creation of an ssh key - Google will pop up an instruction when you click not "Connect via SSH", but "Connect via a third-party client"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question