hierynomus / hierynomus/sshj

sshj session cannot execute commands with ssh configurd ForceCommand

Open
#863 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.