Rumanoid
Rumanoid

Reputation: 139

Google Cloud FTP and SSH Access

I just started using the free trial of google cloud. How can I access my VM using ssh and ftp/sftp? I googled a bit, but couldnt find much

Upvotes: 1

Views: 6366

Answers (2)

Rumanoid
Rumanoid

Reputation: 139

I fixed it, you have to /etc/ssh/sshd_config And change PasswordAuthentication no to yes. Then you use sudo service ssh restart To restart the ssh daemon. Then use sudo passwd to change the root password. Now you can ssh/sftp using username root and password what you just set

Upvotes: 3

kateroh
kateroh

Reputation: 4416

Use the new tool gcloud for ssh'ing and other operations on your VM instances: gcloud compute ssh example-instance

Upvotes: 0

Related Questions