hierynomus / hierynomus/sshj

Does Session.exec support running command with interaction

Open
#446 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

As title, like saying, i got a pyton script like:

```
print("let 's go now")
var = input("input your choice: ")
print("your choice is: " + var)
```

i want to run it when sshj exec, and detect command output, when "input your choice: " detected, then send "choice" through input stream

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.