Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Help with pushing new version of script


    Diggington

    Recommended Posts

    Hey,

    I need to fix one of my scripts on the SDN, but when I go to push a new version I receive the following error:

    git push origin master
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    The ECDSA host key for ssh.dreambot.org has changed,
    and the key for the corresponding IP address 143.198.12.24
    is unknown. This could either mean that
    DNS SPOOFING is happening or the IP address for the host
    and its host key have changed at the same time.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the ECDSA key sent by the remote host is
    SHA256:Sao9YbnD0FxBe2fGha2xDSYYVyhJvh6Y2HuVmWyrmqI.
    Please contact your system administrator.
    Add correct host key in /home/XXX/.ssh/known_hosts to get rid of this message.
    Offending ECDSA key in /home/XXX/.ssh/known_hosts:3
      remove with:
      ssh-keygen -f "/home/XXX/.ssh/known_hosts" -R "ssh.dreambot.org"
    ECDSA host key for ssh.dreambot.org has changed and you have requested strict checking.
    Host key verification failed.
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.

    I'm not super familiar with git so any help would be appreciated. I tried some solutions from StackOverflow but couldn't get it working.

    Thanks

    Link to comment
    Share on other sites

    Looks like Dreambot have rotated their SSH host key and you'll need to remove the key from your known_hosts file.
     

    You can remove the third entry (non-commented line) from /home/XXX/.ssh/known_hosts as shown by the line in the above output:

    Offending ECDSA key in /home/XXX/.ssh/known_hosts:3 (Note: - The :3 identified the third line)

    Or alternative, as the message suggests you can run the command to remove that key automatically

     remove with:
      ssh-keygen -f "/home/XXX/.ssh/known_hosts" -R "ssh.dreambot.org"

     

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.