Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Fedora Workstation 39 host machine with Oracle VirtualBox 7 installed.I've created a virtual machine running Windows Server 2022 using Oracle VirtualBox. I can successfully ping the Windows Server from the Fedora Linux host machine using SSH, demonstrating basic connectivity.
However, the challenge arises when attempting to establish passwordless authentication using public key. Despite following various tutorials from YouTube and other sources, the passwordless authentication setup is not functioning as expected. The objective is to SSH into the Windows Server 2022 virtual machine from the Fedora host without being prompted for a password.
I have a Fedora Workstation 39 host machine with Oracle VirtualBox 7 installed.I've created a virtual machine running Windows Server 2022 using Oracle VirtualBox. I can successfully ping the Windows Server from the Fedora Linux host machine using SSH, demonstrating basic connectivity.
However, the challenge arises when attempting to establish passwordless authentication using public key. Despite following various tutorials from YouTube and other sources, the passwordless authentication setup is not functioning as expected. The objective is to SSH into the Windows Server 2022 virtual machine from the Fedora host without being prompted for a password.
You are, again, asking for help with a Windows server; this is not Linux related. Asking on a Linux forum about Microsoft Windows problems isn't going to get you a lot of help...however, if you searched for things like "windows server 2022 passwordless" you'd find things like: https://learn.microsoft.com/en-us/wi..._keymanagement
...a guide from Microsoft about such things. How you get Microsoft to accept your key and where you store it on Windows is a Windows question. Have you tried using the fairly standard ssh-copy-id command on Linux???
You are, again, asking for help with a Windows server; this is not Linux related. Asking on a Linux forum about Microsoft Windows problems isn't going to get you a lot of help...however, if you searched for things like "windows server 2022 passwordless" you'd find things like: https://learn.microsoft.com/en-us/wi..._keymanagement
...a guide from Microsoft about such things. How you get Microsoft to accept your key and where you store it on Windows is a Windows question. Have you tried using the fairly standard ssh-copy-id command on Linux???
Thanks for the help. I have tried this support article Key-based authentication in OpenSSH for Windows without any luck. I have also followed this video : SSH To Windows Using Public Key. But unfortunately its also not working. May be its something to do with my host machine. I have multiple authentication key in my ssh folder. I guess I might have to edit the config file. I will keep trying. Thanks for your suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.