1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SSH into Cpanel VPS

Discussion in 'Black Hat SEO' started by jujubee3422, Oct 28, 2009.

  1. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    Ok.. so i am trying to assign the IPs for my nameservers... for my cpanel linux vps...

    So I cant do it through the control panel.... So i found the solution...

    http://forums.cpanel.net/f5/nameserver-problem-104053.html

    But I am a total newb when it comes to SSH... can someone help me out...plz

    I already have putty installed.. but I am not sure about the what port to use..lol

    and i found this for basic SSH commands...

    http://www.sshcmds.com/
     
    Last edited: Oct 28, 2009
  2. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    Anyone ??
     
  3. Alex Brooks

    Alex Brooks BANNED BANNED

    Joined:
    Mar 17, 2009
    Messages:
    1,199
    Likes Received:
    297
    I beleive it is 22.
     
  4. WickednDivine

    WickednDivine Executive VIP Premium Member

    Joined:
    Jul 29, 2008
    Messages:
    468
    Likes Received:
    344
    The standard SSH port is 22, but many servers use some arbitrary port, you may need to find out from your hosting company.
     
  5. Alex Brooks

    Alex Brooks BANNED BANNED

    Joined:
    Mar 17, 2009
    Messages:
    1,199
    Likes Received:
    297
    They'd of stated it in a e-mail they've sent you regrading the set up of your VPS.
     
  6. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    Yea i got in.... and yea i used 22.. but I am not too sure...about my nameserver's IPs..

    it seems that the Ips have been assigned... but my domains are not coming up in the control panel as valid...

    I know it takes 24 hrs to propagate but I am sure that it happens much sooner..as with my experience with go daddy...

    So I am still not sure if I have this set up right........
     
  7. matsta

    matsta Power Member

    Joined:
    Oct 12, 2008
    Messages:
    555
    Likes Received:
    620
    Location:
    New Zealand
    Ok so basically you are trying to set up nameservers?

    First thing you want to do if open putty/terminal and type ping yourdomain.com

    then it should tell you the ip of your nameserver write that down. To stop pinging press control c

    Now you should go into WHM and go to the 'IP Functions' menu then 'Show Ip address usage'

    Now go to 'Change site's IP Address' and make sure the 2 ip addresses are free.

    Now go back and edit the nameserver's ip by going nano /etc/nameserverips

    Ps. If you have a ftp client that supports sftp, you can edit root files using a text editor rather then by shell. The login is the same as your ssh credentials.
     
  8. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in

    Yea I went into SSH and assigned two IPs to the name servers....

    I used this guide.....

    http://www.lunarforums.com/dedicate...te_nameserver_with_cpanel-t26132.0.html;wap2=

    But now...

    when I try to enable SPF and domain keys for the new domain.. i registered...

    I get this error:

    WARNING: DomainKeys cannot be used because this server is not a DNS server for domain

    here is a thread i found.. while I am tryiing to figure this out...

    http://forums.cpanel.net/f43/warnin...se-server-not-dns-server-domain-77788-p2.html
     
  9. ukescuba

    ukescuba Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    994
    Likes Received:
    634
    Occupation:
    Mobile Marketer & QR Code Junkie
    Location:
    San Antonio, TX
    Home Page:
    if you have cpanel/whm setup simply login into your whm click on the first option basic cPanel/WHM setup

    scroll down to your primary and secondary nameservers assign an ip address to each and add an a record...

    wait perhaps 24hrs then start changing your domains to your new nameserver address and then again via whm create new accounts for them...

    no need to use ssh for this if you have a whm/cpanel vps

    hth
     
  10. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in

    Alright...I assigned both name servers an IP through SSH already....
    and I dont see an option to add a record... all I see
    is add an A entry next to assign IP address... is that it ??
     
  11. jujubee3422

    jujubee3422 Power Member

    Joined:
    Jun 3, 2009
    Messages:
    590
    Likes Received:
    66
    Occupation:
    professional eaterrrrrrrrrr
    Location:
    behind a 15in
    BTW.. how much is your SEO.. service.. I think I might have to come see you..when I put more time into my white hat projects....:)
     
  12. ukescuba

    ukescuba Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    994
    Likes Received:
    634
    Occupation:
    Mobile Marketer & QR Code Junkie
    Location:
    San Antonio, TX
    Home Page:
    yep thats it :)