1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Stop/Start ssh and ftp service from whm or cpanel

Discussion in 'Site & Server Administration' started by ASTRAPI, Jun 16, 2009.

  1. #1
    Hello

    How can i start/stop the ssh and ftp services from whm or cpanel?

    I use only one account as dedicated server.

    I don't want to disable them just to stop them and start them when i need them.

    Thanks
     
    ASTRAPI, Jun 16, 2009 IP
  2. C'lown

    C'lown Banned

    Messages:
    255
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Currently it's not possible to stop the services from cPanel or WHM at the moment. Only thing possible is to Restart the services.

    What you can do is to login at SSH and run the following commands. (It's not recommended to stop SSH, i would prefer to just change the port)

    service proftpd stop
    Code (Stop FTP):
     
    C'lown, Jun 16, 2009 IP
  3. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I was wondering if i can request it as addon to whm so i can have a GUI solution to stop/start the ssh and ftp services ?

    I will pay ofcource a few euro :)

    Any info please?

    Thanks
     
    ASTRAPI, Jun 16, 2009 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    If you do not want to run any service on your server, you can easily disable it from WHM -> Service Manager.

    Kailash
     
    kailash, Jun 16, 2009 IP
    vasyl likes this.
  5. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I don't think that plugin starting and stopping enabled services on cPanel will be popular and easily integrated to cPanel since it uses kind of monitoring tool for the services enabled. So such plugin will violate cPanel ideology somehow.
     
    vasyl, Jun 17, 2009 IP
  6. gary4gar

    gary4gar Peon

    Messages:
    496
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    there is no need of such kind of plugin, you can use service manager as kailash said;)
     
    gary4gar, Jun 17, 2009 IP
  7. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    service manager will disable it :(

    I want just to stop it and start it when i need it and if something go wrong to restart my server and then they will autoload :)
     
    ASTRAPI, Jun 17, 2009 IP
  8. gary4gar

    gary4gar Peon

    Messages:
    496
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    then, you can also logon via SSH and enter service <service name> start|stop|restart
    example
    service httpd stop
    Code (markup):
    Its very easy
     
    gary4gar, Jun 17, 2009 IP
  9. C'lown

    C'lown Banned

    Messages:
    255
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    This has already been told.
     
    C'lown, Jun 17, 2009 IP
  10. Atulya

    Atulya Guest

    Messages:
    142
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    you can do it via WHM
     
    Atulya, Jun 18, 2009 IP
  11. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    If i stop in this way ssh then how i can start it again ? :)

    I need to do it from another place like Direct Admin can start and stop services from System Monitoring.
     
    ASTRAPI, Jun 18, 2009 IP