I'm trying to SSH into my Cyberpower PDU41001, which is connected to my computer via Ethernet cable. My computer runs Windows 10. I have enabled SSH communication on the device by logging into the IP address that I assigned to it and configuring my port 22 for SSH.
At first I thought that simply telling Mathematica to connect to the IP address of my device and entering my computer log-in credentials would work. However, Mathematica kept returning an error that my credentials were wrong, even though they weren't.
I am able to SSH into the device from the shell using my credentials (not even needing a private key). I had to force my system to accept one of their offered cipher types - but after I did that, it worked. My credentials still aren't being accepted in Mathematica however.
Here's my code below. This should be enough to establish the connection. I'm using a private key file, it shouldn't have to ask for a password.
RemoteConnect[
IPAddress["XXX.XXX.XX.XX"],
Authentication -> <|
"Username" -> "Darren",
"SSHKey" -> File["C:\\Users\\darren\\.ssh\\id_rsa"] |>
]
What could be the reasons why Mathematica would reject me from my SSH network even when I'm using a private key and entering my correct credentials?