Hashcat vast.ai and hashcat.

StillBlue

Active member
Contributor
Joined
Dec 30, 2019
Messages
513
Reaction score
34
Credits
378
Due to having yet again hardware issues, I was considering enlisting vast.ai services during my downtime.

I have used vast.ai a while ago for something else, and there were some cheap services to be had. I was wondering if anybody else here uses it for Hashcat and if so what docker images they may use and any advice.

Also I have a half way done recovery sitting on my laptop at the moment and guess I can just move the .restore file across to a cloud based machine and continue from where mine left off?

Any advice/knowledge around this would be gratefully received.
 

StillBlue

Active member
Contributor
Joined
Dec 30, 2019
Messages
513
Reaction score
34
Credits
378
Actually, I think I am sorted. It's a bit of an eye opener using some of the servers available compared to my own hardware.
 

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Joined
Dec 30, 2019
Messages
3,175
Reaction score
900
Credits
5,898
Glad you got it sorted out.
To answer your original question, here's the basic settings to get you started:
  • vast.ai setup for hashcat:
    • Docker image
      • nvidia/cuda
    • Launch Mode
      • Run interactive shell server, SSH
    • On-start script
      • none (customize to fit your needs)
    • Disk space to allocate
      • 10gb+ (customize to fit your needs)
    • FYI
      • higher TFLOPS = faster GPU performance
      • scripting your setup will save you time and money since you're paying $$ / hour
        • ex: create a script to prep the system (download hashcat, wordlist, etc...)

 

StillBlue

Active member
Contributor
Joined
Dec 30, 2019
Messages
513
Reaction score
34
Credits
378
Thank you. Yes, managed to get myself worked out mostly.

I watering a couple of my test runs earlier. Finished before I had drank my tea.
 

StillBlue

Active member
Contributor
Joined
Dec 30, 2019
Messages
513
Reaction score
34
Credits
378
Actually, for anyone else thinking of doing this, the one thing I would say, is I did try anything I wasn't sure of on the cheapest server first, and then if it looked like it was working properly, I swapped over to a fast one. In my head this cost me less to experiment with some of the docker images, which I found some better than others.
 

rsj123

Active member
Joined
Aug 7, 2020
Messages
144
Reaction score
109
Credits
1,074
An addition on cyclone's reply.
I suggest u to use the tag including everything of cuda imagine or u might get in some errors.
 

Alcanjp

New member
Joined
Sep 7, 2021
Messages
4
Reaction score
0
Credits
74
Hello

I am unable to upload a file to an instance on VAST.ai
scp -P 19691 /home/coper/Documents/My_File.001 root@ssh5.vast.ai:/home
ssh: connect to host ssh5.vast.ai port 19691: Connection refused

Is this issue from the public key?
 

Cyclone

Active member
Trusted
Contributor
Retired Moderator
Joined
Dec 30, 2019
Messages
3,175
Reaction score
900
Credits
5,898
Sounds like your public key may be the issue.

From your linux box, copy your id_rsa.pub
Code:
cat ~/.ssh/id_rsa.pub
then paste that into "Change SSH Key" on vast.ai / console / account.

Your key will start with "ssh-rsa" and end with "user@hostname".

example:
Code:
ssh-rsa AAAAB3Nza...blah...blah...blah...blah...blah...blah...blah...blah...blah...blah... user@hostname
 

Alcanjp

New member
Joined
Sep 7, 2021
Messages
4
Reaction score
0
Credits
74
Sounds like your public key may be the issue.

From your linux box, copy your id_rsa.pub
Code:
cat ~/.ssh/id_rsa.pub
then paste that into "Change SSH Key" on vast.ai / console / account.

Your key will start with "ssh-rsa" and end with "user@hostname".

example:
Code:
ssh-rsa AAAAB3Nza...blah...blah...blah...blah...blah...blah...blah...blah...blah...blah... user@hostname
I actually got stupid. I managed to get it working. How ever is vast.ai the cheapest?
 

cablecable

Active member
Contributor
Joined
Dec 30, 2019
Messages
519
Reaction score
48
Credits
331
For those who are still wondering, use the docker "dizcza/docker-hashcat/" much easier setup, everything preinstalled.
 
Top