Results 1 to 4 of 4

Thread: Possible to add SSH user ?

  1. #1

    Possible to add SSH user ?

    Hi All,

    It is possible to add SSH user ?

    Have tried ipkg "adduser", I can add the user,
    but after the box get reset, user created are gone.

    Anyone can advise ?

    Thanks

  2. #2
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    after adding user do:
    Code:
    echo /etc/passwd >> /usr/local/.files
    echo /etc/group >> /usr/local/.files
    flashfs save && flashfs commit && flashfs enable && reboot

  3. #3

    account restricted for tunneling only

    Thanks for the great help. Tested, it work on firmware 1.9.2.7-10.

    I would like to allow users only to do remote or local tunnel only,
    should I use restricted shell ? Or anyone have better suggestion ?

  4. #4
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    I think you need to use openssh (but check the docs). dropbear will not allow you such restrictions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •