hashcat Forum
Error while running oclHashcat with ssh - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html)
+--- Thread: Error while running oclHashcat with ssh (/thread-5057.html)



Error while running oclHashcat with ssh - devilsadvocate - 01-18-2016

Is there a fix for this error message?

Code:
Generating bitmap tables with 16 bits...Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key

ERROR: clGetDeviceIDs() -1          

I tried running oclHashcat64.bin and got the above error message.  Is this related to X forwarding?

The way I have been correcting this is restarting my Linux machine, logging in, and then reconnecting via ssh.  It will run for a while, but sometimes I get random crashes and then can't restart oclHashcat due to the above error message.

It appears to be related to permissions on/to the X server.  If I delete ~/.Xauthority, then I will get a different error message.

Any troubleshooting steps are appreciated.

Thanks.


RE: Error while running oclHashcat with ssh - epixoip - 01-18-2016

Definitely related to X, sounds like something is seriously misconfigured. The article at http://hashcat.net/wiki/doku.php?id=linux_server_howto is a bit outdated, but should contain enough clues to help you out.


RE: Error while running oclHashcat with ssh - devilsadvocate - 01-18-2016

(01-18-2016, 10:08 PM)epixoip Wrote: Definitely related to X, sounds like something is seriously misconfigured. The article at http://hashcat.net/wiki/doku.php?id=linux_server_howto is a bit outdated, but should contain enough clues to help you out.

I am actually running Ubuntu 14.04. I have no idea how you just read my mind over the internet, but wow, thanks. I will keep testing in the screen app (man screen) and see if that works as well.

I am already up and running with some of the settings that are recommended in the link that you shared. Much obliged.