Skip to content

Can't change max open files "ulimit -n" when using tinyssh... #104

Description

@fcintrono

If inside tinyssh I write this command "ulimit -n 65536", it throws this error:

-bash: ulimit: open files: cannot modify limit: Operation not permitted

I have tried this to solve the problem:

1.-Install the last version (20260401)
2.- Try with same user and the same linux box:
a)With sshd "ulimit -n 65536" works without any problem
b)With tinyssh it throws the error.
3.-Be sure that my file /etc/pam.d/login has this line:
session required /lib/security/pam_limits.so

¿Would you help me please?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions