Results 1 to 2 of 2

Thread: automating sshd2_config user creation

  1. #1
    Junior Member
    Join Date
    Dec 2002

    automating sshd2_config user creation

    I don't know if this is within the scope of this group, but I have a problem that has been nagging me for some time. I am by no means an excellent programmer, but I get by... I have created a simple bash script to automate user creation, directory creation and so on for adding sftp users. The problem, arises when I have to manually add the chroot entries in sshd2_config. (UserSpecificConfig someuser@.* /etc/ssh2/subconfig/USERS) (ChRootUsers someuser). Does anyone have any ideas to how, I can automate the entry of those two lines in sshd2_config? Thank you.

  2. #2
    T̙͓̞̣̯ͦͭͅͅȂͧͭͧ̏̈͏̖̖Z̿ ͆̎̄
    Join Date
    Dec 2004
    Try this link...there's only 3 entries but it should suffice....


Posting Permissions

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