Open jzkunlun opened 3 weeks ago
When you run ssh username@remote-host
, this command already runs inside a virtual terminal, so you need to input your password with ht's input API, e.g.:
{ "type": "sendKeys", "keys": ["my-secret-password", "Enter"] }
(sendKeys
has been added in v0.2)
raw terminal gave a lot of garbed characters. I wish this ht may make ssh interactive session cleaner.
ht ssh username@remote-host launching command "ssh username@remote-host" in terminal of size 120x40
it waited there forever, actually in normal terminal, it prompts to as ask password, how do I get prompt and feed my input?