mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +03:00
add a faq
Updated Home (markdown)
4
Home.md
4
Home.md
@@ -5,6 +5,10 @@
|
||||
Frequently Asked Questions
|
||||
===========================
|
||||
|
||||
+ **Multiple commands/shells/subsystems in a connection**
|
||||
|
||||
`Session` objects are not reusable, so you can only have one command/shell/subsystem via `exec()`, `startShell()` or `startSubsystem()` respectively. But you can start multiple sessions over a single connection so you need not reconnect.
|
||||
|
||||
+ **Toning down the logging**
|
||||
|
||||
sshj uses sl4j, which is just a facade, so it depends on how the underlying logging implementation you are using is configured. For example, in case of log4j this is typically accomplished with a `log4j.properties` in the classpath. Filter out/down messages from the `net.schmizz` category.
|
||||
|
||||
Reference in New Issue
Block a user