1
submitted 1 year ago by tibor@pawb.social to c/linux@lemmy.ml

I have 4 servers. 3 on oracle cloud, and 1 on google. So i decided to setup guackamole with docker on one. I did everything, i added my private key, and tried to connect. But i got an error, and the same when i tried to connect from powershell (server sent public key). The key worked before. I tried to connect to the same server where guacamole is running from. I tought that oracle maybe regenerated the key, so i deleted the existing one, and regenerate it, but that failed too. But putty still works, i can still connect with it. Then i tried to use putty to regenerate the original key files, and that failed too. Then i cheked if the key on the server are still mached to the one i regenerated with putty, and they are the same. But i still can't connect. How can i fix this? I really don't know what went wrong.

you are viewing a single comment's thread
view the rest of the comments
[-] Badabinski@kbin.social 2 points 1 year ago

Just to be sure — you uploaded the public key to your servers, right? In your user's directory on the remote server at ~/.ssh/authorized_keys. Your private key should never leave your system. That's a very common mistake in my experience. The wording of your post makes it seem like you may have done that.

this post was submitted on 17 Jun 2023
1 points (66.7% liked)

Linux

47557 readers
493 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS