SSH Login Scripts

Discussion in 'General' started by alexillsley, Apr 23, 2007.

  1. alexillsley

    alexillsley New Member

    ----- expired ----
     
    Last edited: Nov 15, 2010
  2. hamerr

    hamerr New Member

    what are you trying to do ?
     
  3. alexillsley

    alexillsley New Member

    ----- expired ----
     
    Last edited: Nov 15, 2010
  4. hamerr

    hamerr New Member

    ...

    Just search for "ssh chroot" in the site ... and when you install it step by step from the howto enable the chrooting in the /home/admispconfig/ispconfig/lib/config.inc.php:
    "$go_info["server"]["ssh_chroot"] = 1;"
    Then restart ISPConfig: "/etc/init.d/ispconfig* restart".Next go to /root/ispconfig/scripts/shell/create_chroot_env.sh edit the "APPS" line add
    or remove whatever you want.Add the following lines to the bottom of the script:

    cp -R /lib/terminfo/* ./lib/terminfo/
    cp /etc/profile ./etc/

    After that every added user will be chrooted.if you receve any error .. post it here
    That works for me i`m running Ubuntu 6.06 LTS ... good luck
     
  5. ggarron

    ggarron New Member

    You may have a problem with your script, may be the variables?
    read this article it is not exactly your problem but could give you an idea.
    http://www.go2linux.org/node/65
    regards,
    Guillermo
     
  6. alexillsley

    alexillsley New Member

    ----- expired ----
     
    Last edited: Nov 15, 2010

Share This Page