JohnSundell / ShellOut

Easily run shell commands from a Swift script or command line tool
MIT License
870 stars 83 forks source link

How to enter my password? #35

Open NeverObsess opened 6 years ago

NeverObsess commented 6 years ago

for example:

How can I do this?

varyP commented 4 years ago

Same problem for me, while deploying Publish blog, ShellOut is unable to ask for password. Using the --deploy flag in Xcode scheme, i get

[info] fatal: could not read Password for 'https://<username>@github.com': Device not configured: file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-1103.8.25.8/swift/stdlib/public/core/ErrorType.swift, line 20

Running via terminal does nothing. Just gets stuck.

fadylateef commented 3 years ago

There is a workaround for your password problem, Install sshpass 👇🏻 apt install sshpass

You can use sshpass -p[yourpasswordhere].