Reputation: 139
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
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