sshj session cannot execute commands with ssh configurd ForceCommand
Open
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 620
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 11
Description
In copshell, configuraion as below:
```
Match User carl
ForceCommand /bin/bash --login -i
PasswordAuthentication yes
PubkeyAuthentication no
AllowTcpForwarding yes
MaxSessions 10
```
When I remove `ForceCommand /bin/bash --login -i`, sshj session can execute commands. So, can not sshj support this configuration? I used MobaXterm tool to connect and execute commands successfully.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.