Skip to content

How to Enable a Level-2 Shell to Display Shell Prompt? #897

Description

@yuhJohn

After you log in to the SSH service using the user password and run the bash command again, no command output is displayed. However, the Linux system displays the command output.
How to solve the above problems to make the same response as Linux,

For example, after logging in to the system using the password, run the bash command and then run the ls command.
Linux:

[root@hostname -]# bash
[root@hostname -]# ls
testFolder1
testFolder2
[root@hostname -]#

mina-sshd: No shell prompt is displayed.

[root@hostname -]# bash
testFolder1
testFolder2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions