Reputation: 21
I am new to Google Compute Engine. I already installed Apache and MySQL, but I have been unable to to find a way to connect to the server in FileZilla. How do I do that? Also, how can I get access to phpMyAdmin?
Upvotes: 1
Views: 4167
Reputation: 13424
With FileZilla, you should use sftp as described on the FileZilla wiki. See also a related question on alternative methods for uploading files to your instance and make sure that port 22 is open in your firewall as described in this answer.
For phpMyAdmin, consider using an ssh tunnel. To create a tunnel, you just need to pass the right args to ssh
via gcutil
, where $A
is the local port (must be unused on your local machine) and $B
is the remote port (i.e., the port phpMyAdmin is listening to on the remote host):
gcutil --project=[...] ssh --ssh_arg -L$A:localhost:$B <instance-name>
Then, you can connect to localhost:$A
and it will work.
Upvotes: 1
Reputation: 1
Maybe you already have a Private key(.ppk) for connecting SSH. For connect to Filezilla you have to change Private key to Public key. 1. launch Filezilla and select Edit->Settings->SFTP 2. Select Add key file. 3. Select your Private Key and Filezilla will make new public key by using your private key. 4. Now You can connect your server by SFTP in Filezilla
Upvotes: 0