Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    29

    Default SSH (putty) Help

    Hello,

    Im trying to update PHPNuke 6.0 to the newer 6.8 version using the program and everything goes well until it asks me if I want to overwrite the old file, what do I do?

    Thanks,
    Justin.

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    88

    Default What the @?$^

    With all due respect Dude ... What the hell has that got to do with SSH???

    You need to go to the Nuke Forum for this ... Just because it's an Add-On Script doesn't mean the support is found here.

    cPanel.net Support Ticket Number:
    Best Regards,
    Mike
    ASU Service
    http://www.NetBizHelpers.com

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    29

    Default

    Hello,

    It has to do with SSH, because you have to use ssh to run the script.. and the overwrite file command in """""SSH"""" has nothing to do with PHPNuke.. b/c i dont use phpnuke to overwrite the file on the server... it uses ssh...

    the code that is used is below:

    #!/bin/sh

    # getnuke.sh
    # Al Smith 09-01-2003
    # Update cPanel PHP Nuke pkg.tar.gz file to current version

    Version=PHP-Nuke-6.8.tar.gz # Version to fetch
    NukeHome=/usr/local/cpanel/addons/PHP-Nuke # Cpanel addon dir for Nuke
    NukeFile=pkg.tar.gz # Cpanel file name
    Source=http://unc.dl.sourceforge.net/sourceforge/phpnuke

    mkdir /tmp/Nuke # Temporary folder
    cd /tmp/Nuke

    wget $Source/$Version # Get the version from sourceforge

    tar zxvf *.gz

    mv *.gz /tmp # move the .gz file out

    tar cvfz $NukeFile * # Create the pkg file

    cp $NukeFile $NukeHome # Copy the pkg to the Nuke Home

    rm -rf /tmp/Nuke # Clean up the mess

    #
    # End
    #
    With all due respect, before you get pissed, try asking questions first.

    Thanks,
    Justin.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    May 2003
    Location
    Seattle
    Posts
    103

    Default

    ... still doesn't have anything to do with ssh. You are trying to run a shell script. You'll have to ask this on the phpnuke forum because only they could tell you if it is ok to overwrite the file or whether to delete it before you run the script or whatever.

Similar Threads & Tags
Similar threads

  1. Create SSH Keys and login using putty - access denied
    By isputra in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-05-2008, 09:34 PM
  2. putty ssh keys
    By digitalinsights in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 11-12-2007, 12:54 PM
  3. Anyone knows how to enter SSH thro' Putty, for home computer?
    By kigoobe in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-02-2006, 11:05 AM
  4. Download Files Using SSH & Putty
    By Supafly in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-18-2006, 06:36 AM
  5. putty/ssh is very slow
    By jegefe in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-01-2004, 02:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube