I wish Linux were adequately supported for various hardware and with adequate self-repair capabilities.
Conservative. Idaho. Software engineer. Historian. Trying to prevent Idiocracy from becoming a documentary.
Email complaints/requests about copyright infringement to clayton @ claytoncramer.com. Reminder: the last copyright troll that bothered me went bankrupt.
Wednesday, July 2, 2025
Two Hours With CHATGPT Trying to Get OpenSSH Server Working
No closer than when I started. If you want to do something utterly vanilla with Windows 11, on your local PC, it works well. Anything even slightly unusual, such as using sftp to transfer files from Linux and it turns into a steaming pile at about Linux levels of knowledge. At least getting an ftp server working under Linux is easy (or builtin?).
Subscribe to:
Post Comments (Atom)
What problems were you having with OpenSSH server, I wonder? I found it pretty straightforward to install, based on "AI" results from DuckDuckGo search, although it took a really long time. Continuing to follow the instructions, I manually started the service, and was immediately able to connect from a PC in the other room. (Or did you mean you weren't able to do that on Linux? For some reason, the way I read your post, you couldn't get it working on Win11.)
ReplyDeleteI can sftp to Linux from Windows. Not the other direction. OpenSSH will not run for me. Email me the magic instructions, please.
DeleteClayton, sorry, what I described above is literally all I did. I didn't set up an sftp server, just started the OpenSSH service from the Services control panel after installing it, then, from my Linux box, ran "ssh rick@winpc", logged in, and ran dir to see that it worked at all.
DeleteBut I just went back, and made sure the service was running (I had left it to Manual, so a reboot shut it off) and I tested again that I could ssh to the Linux box from the Windows box, then quit out of ssh and ran sftp rick@[linux IP], logged in, and was able to both get a file from the Linux box to the Windows one and put a file from Windows to Linux. I didn't have to do anything but install openssh from Windows Additional Components or whatever it's called these days (sorry, I'm not at that PC right now) and start the service for both ssh and sftp to work both ways.
I suspect a firewall issue on Windows. That is the next thing I will check because I can sftp from Windows Subsystem for Linux.
DeleteI have questions:
ReplyDeleteWhat Linux are you using?
What hardware are you struggling with?
linuxCNC 2.7.14 (wheezy). I do not think it is hardware. Windows 11 on a Lenovo laptop.
Delete