Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2011
    Location
    Kuwait
    Posts
    85

    Cant Connect SSH or anything !

    hey guys

    i messed up the server ,

    i installed APF , then i wanted to uninstall it

    I saw a thread that after stopping apf

    the server was working fine .. but then

    i did iptables -f

    after that nothing happened .. i closed ssh , everything stopped i cant connect to the server with ssh or control panel or anything

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    You'll have to ask the data center to log into the console and reload iptables for you. There's nothing you can do if you're locked out, unless you have KVM access?
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  3. #3
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    16,087
    Are you using a VPS or a Dedicated Server? The only time I've seen an iptables flush cause all connectivity to drop is in an OpenVZ VPS. If it is a VPS, you should be able to reboot it via your VPS control panel with your provider.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS
    http://www.mddhosting.com/

  4. #4
    Join Date
    Jan 2011
    Location
    Kuwait
    Posts
    85
    Hey thanks guys , Im using a dedicated server , just talked to the Host (Support)

    he rebooted the server for me and Disabled iptables , working again ! Phew

    thanks guys

  5. #5
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    flushing of iptables usually cause a lock...be careful next time
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

  6. #6
    Join Date
    Jan 2011
    Location
    Kuwait
    Posts
    85
    oh ! ok thanks ! But now I have other problem , Root password is not working , On SSH it says access denied , and even in DA some features asks for root password , when I type it it says its wrong.

    it was working before the flush and (lock)

  7. #7
    Join Date
    Jun 2011
    Location
    KUWAIT
    Posts
    45
    Hey mate,

    you can try referring to the logs for directadmin in /var/log or inside /usr/local/directadmin to get more specific information on what the error exactly is. ....

  8. #8
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    you can reset the password using single user mode ..
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

  9. #9
    Join Date
    Jan 2011
    Location
    Kuwait
    Posts
    85
    hey linuxtechz i checked some of the logs it says Authentication failure
    its strange

    ActiveLobby4u how can I use single user mode ?

    Thanks guys for your replies

  10. #10
    Join Date
    Jun 2011
    Location
    KUWAIT
    Posts
    45
    Hey ,

    For doing it via single user mode you will require to contact your Data Center if you do not have access to the server and request for a password reset on it.

    Ty

Similar Threads

  1. Replies: 14
    Last Post: 01-18-2011, 05:09 AM
  2. Unable to connect via SSH
    By neggs in forum Dedicated Server
    Replies: 9
    Last Post: 01-07-2008, 06:33 PM
  3. Connect 2 servers via SSH
    By Prince in forum Hosting Security and Technology
    Replies: 3
    Last Post: 01-06-2006, 11:23 PM
  4. Can't connect to SSH
    By mmm in forum Hosting Security and Technology
    Replies: 7
    Last Post: 10-06-2005, 05:59 PM
  5. connect to MySQL with SSH
    By lullaby in forum Hosting Security and Technology
    Replies: 5
    Last Post: 03-29-2003, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •