I need your help.
I set up an LDAP keyserver on my Ubuntu VPS.
Uploading keys works wonderfully, but I'm facing a problem where I can't get any further.
I generated a public key via Gnu and uploaded it to the server.
Picture
That also works so far.
Now I create a new public key via Openkeychain. I also store my e-mail address in the key there. Then I upload it to the server.
Picture
But now I have the problem that the "pgpUserID" is missing.
Can you help me and tell me how to get this for the key? Is it because of OpenKeychain?
Or can I add them through a command on the server?
Please note that only the public key is available. The private key remains with the employee and is not on the server.
Related
Customer is changing SFTP to different location and written to me.
Changing SFTP-server to a more modern service at AWS.
Would be to secure the new username with a SSH key pair,
as we’re trying to get rid of all the password usage in the new service.
Could you deliver us a public key for this?
I have no understanding of this.
What actually I need to do here? Is it following ssh-keygen command? Do i need to share QA and Production separately?
https://phoenixnap.com/kb/ssh-with-key
I'm writing an application that uses the Renci libraries to upload and download files to an SFTP server.
So far the application works in terms of passing the public key portion of the clients private key to the server (the STP server has the clients public key).
The issue I'm having is in getting the Hosts public key. I need to retrieve this once I've connected and ensure it matches the public key sent to us by the customer for the SFTP server.
I've looked through the Renci library and can't see how to do this. Is it possible?
I've also looked on this site and can't see an answer, hence this question.
Any help would be greatly appreciated.
Thanks.
I have been able to set up SSH access to my Google Cloud Platform VM via SFTP using WinSCP, but I now wish to do the same using another VM.
I have tried the ssh-keygen -t rsa , ssh-copy-id demo#198.51.100.0 method but always come up against the "Permission denied (public key)" error which from researching seems to be a pretty widespread issue with few reliable fixes (all the ones I tried didn't work).
I used PuttyGen to create the public and private key, and inserted the public key onto the server just through GCP settings, adding it under the SSH settings for my instance.
I am just confused on what to do with the private key when simply trying to sftp through the terminal on a separate VM, as before I would load the private key into WinSCP settings. Is there a folder I need to place it in or?
Regarding your first issue of "Permission denied (public key)" error, please follow the troubleshooting in this link and this.
About your other question of "what to do with the private key when simply trying to sftp through the terminal", that depends on the settings of the specific the 3rd party SFTP tool you are using. To locate the locations of SSH key after generating them, please review this document.
Once you have added the public key in the VM, you would need to boot the VM for public key to take effect. Try rebooting it and try
I have the old key in the file ~/.ssh/id_rsa.pub. I had to format the computer, how to restore this key to gain access to the servers again?
I suppose you mean with "the old key in the file id_rsa.pub" your client ("computer") and that you lost it during formatting the client. This public key should already persist on your server. To be able to authenticate to your server, you need the matching private key (~/.ssh/id_rsa). If you have it, just copy it back to that location on your new system.
If you lost it during formatting and have no backup, the only way to regain access is to generate a new pair (ssh-keygen) and copy the public key to your server (for example via ssh-copy-id) while authenticating via password, if you have not disabled that. I would also suggest removing the old public key from the server in that case.
I'm trying to use git as my repository, and I keep getting the error: Permission denied (publickey).
I've tried generating keys on my computer and placing the generated key in my cloudbees account as well as my known_hosts file.
I've also tried adding the key listed in the Jenkins job that I created in my known_hosts, and I'm still unable to connect.
I'm not really sure how to obtain the correct key or how/where to go about placing the key in the correct places.
Any help would be much appreciated.
Thanks,
Danny
There are a couple of things to try shown at http://wiki.cloudbees.com/bin/view/DEV/Git+-+Getting+Started#HTroubleshooting
That being said, it sounds like you're new to SSH, and the commands in the above FAQ may not help.
Generally speaking you will generate a public and private key pair. The public key (~/.ssh/id_rsa.pub / ~/.ssh/id_dsa.pub) will be pasted into GrandCentral as shown in the link above.