I want to upload files from my local computer to a remote server SSH through MobaXterm. I keep running into different issues that simply don't allow me to do this. I'm running Debian GNU/linux 10 (buster)
mobaxterm download file from server permission denied
This tutorial covered the steps necessary to troubleshoot the SSH Permission denied (publickey,gssapi-keyex,gssapi-with-mic) error. By completing the steps in the guide, you should fix the error and successfully SSH into your server.
If you're getting permission denied, then you're not using the correct username or something's amiss with the authentication. Most likely, it's because the sudo command only works locally, for starters, so it won't give you root on the remote box, so that's probably the problem. Make sure that the user you are logging in as on the remote server has write permissions to the location you're trying to write to.
If the problem is the destinationuser doesn't have access to that location without sudo, move the file to the destinationuser's home folder then sudo mv the file from the shell on the other server to put it in the right location.
This error occurred for me when the file already existed in the target location and the existing file had read-only permissions (preventing the file from being overwritten). In my case, I just logged in and deleted the existing file and that corrected the problem.
I was trying to copy from my local machine as username localhost; the SSH key I was using wasn't registered to access my localhost, so I was getting permission denied. When I removed that from the source portion, it worked.
Host key verification can fail if this key is out of date, a problem which can be fixed by removing the offending entry in /.ssh/known_hosts and replacing it with the new key published here. We recommend users should check this page for any key updates and not just accept a new key from the server without confirmation.
Searching about solution I believe the wall/problem is the VM. Seems that VM blocked this service/connection. I did read there is a mode to do it configuring a new network inside VM, choosing NAT connection and config port forward. Without this config (nat forward) inside my network I can do ssh connection. But, I need that VM accept connection came from world.
The PFsense is ok, because I test many times, and it let do connection with Opensuse 42.2 that does not inside a VM, It is a pure server.
3. Check that public key authentication is enabled, just to be safe and not get locked out from your server. If you do find yourself unable to log in with SSH, you can always use the Web terminal at your UpCloud control panel.
Since open ports present a security risk, firewalls installed to protect servers from hackers sometimes block connections to them. Unfortunately, this means that even harmless users who are trying to SSH into their servers may receive a Connection refused error as a result of firewall settings.
The token and token ID config variable names have been updated from team_edition_token to anaconda_server_token and team _edition_token_id to anaconda_server_token_id as of Version 2.4.0. If you downgrade your Navigator application to a version older than 2.3.0, you will need to manually change these variable names back to their older versions within your anaconda-navigator.ini file.
35fe9a5643