• Python (, update for and tested with version 2.7)
  • Pexpect (, tested with version 2.4)

Use included script:

  1. Login or su to root.
  2. ./ --install

Note: ./ --uninstall to remove all installed files.

Note2: Installing a new version and/or unistalling an old version will NOT remove the configuration files (/usr/local/etc/pydsh)

OR by hand:

  1. Install App:

    Login or su to root.
    cp SRC/ /usr/local/bin
    chown root.staff /usr/local/bin/
    chmod 775 /usr/local/bin/
    ln -s /usr/local/bin/ /usr/local/bin/pydsh
    ln -s /usr/local/bin/ /usr/local/bin/pydcp

  2. Install documentation:

    Login or su to root.
    cp DOC/pydsh.8.gz /usr/share/man/man8/pydsh.8.gz
    chown root.root /usr/share/man/man8/pydsh.8.gz
    chmod 644 /usr/share/man/man8/pydsh.8.gz

    cp DOC/pydcp.8.gz /usr/share/man/man8/pydcp.8.gz
    chown root.root /usr/share/man/man8/pydcp.8.gz
    chmod 644 /usr/share/man/man8/pydcp.8.gz

  3. Create Configuration directory:

    mkdir -p /usr/local/etc/pydsh/groups
    chowm -R root.root /usr/local/etc/pydsh
    chmod -R 755 /usr/local/etc/pydsh

  4. Create ALL group:

    Add hosts one to a line to the /usr/local/etc/pydsh/groups/all file.

Building man pages:

For this project I used the txt2man translator to format the and files into the correct format. To build them, use the following command:

txt2man -s 8 -p | gzip -c > pydsh.8.gz
txt2man -s 8 -p | gzip -c > pydcp.8.gz