pfsense-vshell icon indicating copy to clipboard operation
pfsense-vshell copied to clipboard

fresh pfsense plus 21.05 usbrecovery, authentication error when attempting to enable sshd

Open cosmosified opened this issue 4 years ago • 4 comments

on brand new usbrecovery flashed devices with 21.05, i'm constantly getting an authentication error when it tries to run the single command to enable ssh. i've tried "root" as the user as well .. vshell = pfsense_vshell.PFClient("192.168.1.1", username="admin", password="pfsense", verify=False) vshell.run_command('pfSsh.php playback enablesshd')

Does this occur due to a python issue or a hardware networking issue? just curious if anyone else has this problem.

cosmosified avatar Jul 29 '21 15:07 cosmosified

I am running into the same issue.

percivalscientific avatar Jul 29 '21 16:07 percivalscientific

21.02 appears to work fine

cosmosified avatar Jul 29 '21 16:07 cosmosified

This is still working as expected on pfSense CE 2.5.2 so I suspect something has changed within pfSense Plus, likely something with the login page or perhaps something immediately after logging in. This package is written and maintained for pfSense CE, the latest release being prior to pfSense Plus being released. While I don't have access to a pfSense Plus box to troubleshoot or debug, I will gladly accept contributions to help keep this compatible with pfSense Plus for as long as possible; as long as it doesn't directly effect compatibility with pfSense CE.

Let me know if there's anything I can do to help out.

jaredhendrickson13 avatar Jul 29 '21 17:07 jaredhendrickson13

Thanks!. I have pfsense plus, and currently the login page matches the fields used/etc. Unfortunately i have a copule 21.05 that worked out of the box. I forked the repo and will debug the login, i'm guessing the page after logging in.

Thanks for replying. ill hopefully have a PR/MR available in the near future.

cosmosified avatar Jul 29 '21 17:07 cosmosified