The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is this advisable in upgrading openshell?

Discussion in 'General Discussion' started by vlee, Dec 4, 2012.

  1. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Will this work below

    Code:
    wget http://ftp.ini.uzh.ch/pub/OpenBSD/Op...h-5.8p1.tar.gz
    gunzip openssh-5.8p1.tar.gz
    cd /usr/local/src/openssl-1.0.0d
    ../config
    make
    make test
    make install
    ################
    =============
    rpm -qa | grep openssh
    ssh -V
    OR

    Is a better way for doing this?

    I am just getting sick tired of the PCI Compliance saying I am not compliant and always had to explain to PCI Compliance people over and over again that is is a false negative. Just want to permanently fix this. I waste so much time on this that it is not funny and have to do it many servers too.
     
  2. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator

    OR

    Follow this below
    Code:
    1. root@Ajeesh [/usr/src]# wgetwget http://mirror.esc7.net/pub/OpenBSD/OpenSSH/portable/openssh-6.1p1.tar.gz
    
    2. [/usr/src]# tar -xvzf openssh-6.1p1.tar.gz
    
    3. [/usr/src]# cd openssh-6.1p1
    4. [/usr/src/openssh-6.1p1]# cp contrib/redhat/openssh.spec /usr/src/redhat/SPECS/
    5. [/usr/src/openssh-6.1p1]# cd ..
    6. ]# cp openssh-6.1p1.tar.gz  /usr/src/redhat/SOURCES/
    7. cd /usr/src/redhat/SPECS
    8. perl -i.bak -pe 's/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/' openssh.spec
    9. [/usr/src/redhat/SPECS]# rpmbuild -bb openssh.spec
    10 ]# cd /usr/src/redhat/RPMS/i386/
    11 ]# rpm -Uvh *.rpm
     
  3. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator

    Does anyone want to give any outout on this matter?
     
  4. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Well I went with these instructions below with a cPanel test server and work

    Code:
    1. cd /usr/src
    2. wget http://mirror.esc7.net/pub/OpenBSD/OpenSSH/portable/openssh-6.1p1.tar.gz
    3. [/usr/src]# tar -xvzf openssh-6.1p1.tar.gz
    4. [/usr/src]# cd openssh-6.1p1
    5. [/usr/src/openssh-6.1p1]# cp contrib/redhat/openssh.spec /usr/src/redhat/SPECS/
    6. [/usr/src/openssh-6.1p1]# cd ..
    7. ]# cp openssh-6.1p1.tar.gz  /usr/src/redhat/SOURCES/
    8. cd /usr/src/redhat/SPECS
    9. perl -i.bak -pe 's/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/' openssh.spec
    10. [/usr/src/redhat/SPECS]# rpmbuild -bb openssh.spec
    11. ]# cd /usr/src/redhat/RPMS/i386/
    12. ]# rpm -Uvh *.rpm
    Now all my cPanel server are running openssh-6.1p1
     
Loading...

Share This Page