FileZilla will not connect to Google Cloud VM after changing the SSH Keys Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!COPSSH RSA only authentication connection problemLaravel Forge SSH on windows not recognizedUnable to SSH Google Cloud Engine instance through gcloud & Putty from Windows 10Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_BTerraform ssh error on Google Cloud Instance?Google Cloud Compute (GCE) Using gcloud Does Not Create Valid Formatted Public Key for SSHDownload public & private keys from Google Cloud InstanceUsers 'overriding' each other when trying to connect to SFTP on Google Compute Engine VM instanceGoogle Console SSH from the Browser will not connectLost connection with ssh server through web console ssh (GCP, Putty, gcloud terminal, Filezilla)
Did pre-Columbian Americans know the spherical shape of the Earth?
Most effective melee weapons for arboreal combat? (pre-gunpowder technology)
Is it dangerous to install hacking tools on my private linux machine?
malloc in main() or malloc in another function: allocating memory for a struct and its members
What does Turing mean by this statement?
What initially awakened the Balrog?
Is there public access to the Meteor Crater in Arizona?
What does the writing on Poe's helmet say?
Can an iPhone 7 be made to function as a NFC Tag?
What is a more techy Technical Writer job title that isn't cutesy or confusing?
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
Can two people see the same photon?
After Sam didn't return home in the end, were he and Al still friends?
How often does castling occur in grandmaster games?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Why datecode is SO IMPORTANT to chip manufacturers?
Question about this thing for timpani
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Moving a wrapfig vertically to encroach partially on a subsection title
Delete free apps from library
What are the main differences between the original Stargate SG-1 and the Final Cut edition?
Why is it faster to reheat something than it is to cook it?
Asymptotics question
Why is std::move not [[nodiscard]] in C++20?
FileZilla will not connect to Google Cloud VM after changing the SSH Keys
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!COPSSH RSA only authentication connection problemLaravel Forge SSH on windows not recognizedUnable to SSH Google Cloud Engine instance through gcloud & Putty from Windows 10Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_BTerraform ssh error on Google Cloud Instance?Google Cloud Compute (GCE) Using gcloud Does Not Create Valid Formatted Public Key for SSHDownload public & private keys from Google Cloud InstanceUsers 'overriding' each other when trying to connect to SFTP on Google Compute Engine VM instanceGoogle Console SSH from the Browser will not connectLost connection with ssh server through web console ssh (GCP, Putty, gcloud terminal, Filezilla)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.
This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".
I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.
Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.
I've been fighting with this for hours, and am at wit's end.
Edit:
Here's the sequences of messages on FileZilla when I try to connect:
Status: Connecting to 104.199.127.13...
Response: fzSftp started, protocol_version=4
Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
Command: open "steve@104.199.127.13" 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server
google-cloud-platform sftp google-compute-engine ssh-keys
add a comment |
I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.
This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".
I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.
Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.
I've been fighting with this for hours, and am at wit's end.
Edit:
Here's the sequences of messages on FileZilla when I try to connect:
Status: Connecting to 104.199.127.13...
Response: fzSftp started, protocol_version=4
Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
Command: open "steve@104.199.127.13" 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server
google-cloud-platform sftp google-compute-engine ssh-keys
add a comment |
I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.
This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".
I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.
Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.
I've been fighting with this for hours, and am at wit's end.
Edit:
Here's the sequences of messages on FileZilla when I try to connect:
Status: Connecting to 104.199.127.13...
Response: fzSftp started, protocol_version=4
Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
Command: open "steve@104.199.127.13" 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server
google-cloud-platform sftp google-compute-engine ssh-keys
I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.
This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".
I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.
Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.
I've been fighting with this for hours, and am at wit's end.
Edit:
Here's the sequences of messages on FileZilla when I try to connect:
Status: Connecting to 104.199.127.13...
Response: fzSftp started, protocol_version=4
Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
Command: open "steve@104.199.127.13" 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server
google-cloud-platform sftp google-compute-engine ssh-keys
google-cloud-platform sftp google-compute-engine ssh-keys
edited Apr 19 '18 at 12:53
Adrián
1782
1782
asked Apr 1 '18 at 18:39
Steve EubanksSteve Eubanks
13
13
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command
from the Cloud Shell to make sure that you are able to connect to the instance via SSH.
Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.
In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
I hope this helps
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f905528%2ffilezilla-will-not-connect-to-google-cloud-vm-after-changing-the-ssh-keys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command
from the Cloud Shell to make sure that you are able to connect to the instance via SSH.
Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.
In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
I hope this helps
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
add a comment |
You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command
from the Cloud Shell to make sure that you are able to connect to the instance via SSH.
Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.
In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
I hope this helps
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
add a comment |
You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command
from the Cloud Shell to make sure that you are able to connect to the instance via SSH.
Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.
In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
I hope this helps
You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command
from the Cloud Shell to make sure that you are able to connect to the instance via SSH.
Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.
In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
I hope this helps
edited Apr 2 '18 at 15:57
answered Apr 2 '18 at 15:18
DjangoDjango
31215
31215
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
add a comment |
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.
– Steve Eubanks
Apr 4 '18 at 1:36
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)
– Django
Apr 6 '18 at 14:41
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f905528%2ffilezilla-will-not-connect-to-google-cloud-vm-after-changing-the-ssh-keys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown