frappe / press

Full service cloud hosting for the Frappe stack - powers Frappe Cloud
https://frappe.cloud
GNU Affero General Public License v3.0
256 stars 181 forks source link

Bench ssh doesn't work in windows #798

Open balamurali27 opened 1 year ago

balamurali27 commented 1 year ago

The echo command thrown out when generating ssh certificate image when pasted in Powershell creates a UTF16LE encoded file which makes the certificate invalid according to the ssh command

The command needs to be pasted in Command Prompt (without quotes) for it make a UTF8 encoded file which is a valid openssh cert.

The browser should detect windows user and show above instructions (can be a link to doc page)

athul commented 1 year ago

Screenshot 2023-06-13 at 1 47 09 AM

athul commented 1 year ago

$PSDefaultParameterValues['*: Encoding'] = 'utf8'