← All sessions
Ended · replayGot in

Got in and tried to install a crypto miner

on Querétaro City, Mexicoopal-rhea-99i from Düsseldorf, GermanySSH-2.0-PuTTY_Release_0.84

admin@mx-qro-azure-1 · 🇲🇽 Querétaro City
connected from 🇩🇪 Düsseldorf, Germany · SSH-2.0-PuTTY_Release_0.84
admin@mx-qro-azure-1's password: 
Logged in as admin
admin@mx-qro-azure-1:~$ ls
admin@mx-qro-azure-1:~$ ls -a
.  ..  .bash_history  .bash_logout  .bashrc  .profile
admin@mx-qro-azure-1:~$ sudo su root
admin@mx-qro-azure-1:~$ top
=(Btop - 13:45:09 up 14 days, 12:41,  1 user,  load average: 7.95, 7.97, 7.57(B(B
Tasks:(B 1018 (Btotal,(B   2 (Brunning,(B 1016 (Bsleeping,(B   0 (Bstopped,(B   0 (Bzombie(B(B
%Cpu(s):(B  3.3 (Bus,(B  0.7 (Bsy,(B  0.0 (Bni,(B 95.9 (Bid,(B  0.0 (Bwa,(B  0.0 (Bhi,(B  0.1 (Bsi,(B  0.0 (Bst(B(B (B(B
MiB Mem :(B 1017118.+(Btotal,(B 806067.7 (Bfree,(B 169642.4 (Bused,(B 136783.9 (Bbuff/cache(B(B (B(B    (B(B
MiB Swap:(B    976.0 (Btotal,(B    976.0 (Bfree,(B      0.0 (Bused.(B 847476.3 (Bavail Mem (B(B

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND  (B
(B   1874 admin     20   0 2726297   2.3g   1.4g R 787.7   0.2 165276:18.(B
(B 157515 root      20   0   11084   4600   2760 R   0.7   0.0   0:00.00 top      (B
(B   1811 johan     20   0   61.3g   7.5g   4.4g S   0.3   0.8 251:03.16 python3  (B
(B      1 root      20   0  167936  13076   7802 S   0.0   0.0   2:05.46 systemd  (B
(B      2 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kthreadd (B
(B      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp   (B
(B      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par+ (B
(B      5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 slub_fl+ (B
(B      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns    (B
(B      7 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker+ (B
(B      8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_perc+ (B
(B      9 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tas+ (B
(B     10 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tas+ (B
(B     11 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_tas+ (B
(B     12 root      20   0       0      0      0 S   0.0   0.0   0:00.00 ksoftir+ (B
(B     13 root      20   0       0      0      0 I   0.0   0.0   0:00.00 rcu_pre+ (B
(B     14 root      rt   0       0      0      0 S   0.0   0.0   0:00.00 migrati+ (B>
admin@mx-qro-azure-1:~$ cd /home
admin@mx-qro-azure-1:/home$ ls
admin  anna  debian  johan  mikael  sara
admin@mx-qro-azure-1:/home$ ls -a
.  ..  admin  anna  debian  johan  mikael  sara
admin@mx-qro-azure-1:/home$ ls -a *
admin:
.  ..  .bash_history  .bash_logout  .bashrc  .profile

anna:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  kundtjanst-llm

debian:
.  ..  .bash_logout  .bashrc  .config  .profile

johan:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  infer-api

mikael:
.   .bash_history  .bashrc	     .gitconfig  kundtjanst-llm
..  .bash_logout   .git-credentials  .profile

sara:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  hyllbild
admin@mx-qro-azure-1:/home$ lscpu
Architecture:           x86_64
  CPU op-mode(s):       32-bit, 64-bit
  Address sizes:        52 bits physical, 57 bits virtual
  Byte Order:           Little Endian
CPU(s):                 192
  On-line CPU(s) list:  0-191
Vendor ID:              AuthenticAMD
  Model name:           AMD Ryzen Threadripper PRO 7995WX 96-Cores
    CPU family:         25
    Model:              24
    Thread(s) per core: 2
    Core(s) per socket: 96
    Socket(s):          1
    Stepping:           1
    BogoMIPS:           4999.99
    Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
                         cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx 
                        mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good 
                        amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf
                         rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 s
                        se4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf
                        _lm cmp_legacy svm extapic cr8_legacy abm sse4a misalign
                        sse 3dnowprefetch osvw ibs skinit wdt tce topoext perfct
                        r_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cd
                        p_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_
                        enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpc
                        id cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma
                         clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsave
                        opt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_
                        total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr
                         rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nri
                        p_save tsc_scale vmcb_clean flushbyasid decodeassists pa
                        usefilter pfthreshold avic v_vmsave_vmload vgif x2avic v
                        _spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 g
                        fni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpo
                        pcntdq la57 rdpid overflow_recov succor smca fsrm flush_
                        l1d
admin@mx-qro-azure-1:/home$ adduser bb
admin@mx-qro-azure-1:/home$ passwd bb
passwd: user 'bb' does not exist
admin@mx-qro-azure-1:/home$ adduser bb
admin@mx-qro-azure-1:/home$ cd /home
admin@mx-qro-azure-1:/home$ ls
admin  anna  debian  johan  mikael  sara
admin@mx-qro-azure-1:/home$ cd admin
admin@mx-qro-azure-1:~$ l
bash: l: command not found
admin@mx-qro-azure-1:~$ sls -
bash: sls: command not found
admin@mx-qro-azure-1:~$ als -
bash: als: command not found
admin@mx-qro-azure-1:~$ ls
admin@mx-qro-azure-1:~$ ls -a
.  ..  .bash_history  .bash_logout  .bashrc  .profile
admin@mx-qro-azure-1:~$ cd ..
admin@mx-qro-azure-1:/home$ cd anna
admin@mx-qro-azure-1:/home/anna$ ls
kundtjanst-llm
admin@mx-qro-azure-1:/home/anna$ ls -a
.  ..  .bash_history  .bash_logout  .bashrc  .profile  kundtjanst-llm
admin@mx-qro-azure-1:/home/anna$ ca kundtjanst-llm/
bash: ca: command not found
admin@mx-qro-azure-1:/home/anna$ cd kundtjanst-llm/
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ ls
README.md  configs  eval.py  logs  requirements.txt  train.py  train.sh
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ ls -a
.  ..  README.md  configs  eval.py  logs  requirements.txt  train.py  train.sh
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ cat eval.py 
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ clear
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ ls
README.md  configs  eval.py  logs  requirements.txt  train.py  train.sh
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ cat train.
cat: train.: No such file or directory
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ cat train.py
admin@mx-qro-azure-1:/home/anna/kundtjanst-llm$ cd ..
admin@mx-qro-azure-1:/home/anna$ ls -a *
.  ..  README.md  configs  eval.py  logs  requirements.txt  train.py  train.sh
admin@mx-qro-azure-1:/home/anna$ docker ps
bash: docker: command not found
admin@mx-qro-azure-1:/home/anna$ cd ..
admin@mx-qro-azure-1:/home$ ls
admin  anna  debian  johan  mikael  sara
admin@mx-qro-azure-1:/home$ ls -a *
admin:
.  ..  .bash_history  .bash_logout  .bashrc  .profile

anna:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  kundtjanst-llm

debian:
.  ..  .bash_logout  .bashrc  .config  .profile

johan:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  infer-api

mikael:
.  ..  .bash_history  .bash_logout  .bashrc  .git-credentials  .gitconfig  .profile  kundtjanst-llm

sara:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  hyllbild
admin@mx-qro-azure-1:/home$ cd johan/
admin@mx-qro-azure-1:/home/johan$ cd infer-api/
admin@mx-qro-azure-1:/home/johan/infer-api$ ls
README.md  smoke_test.py  sync_models.py
admin@mx-qro-azure-1:/home/johan/infer-api$ ls -a
.  ..  .env  .venv  README.md  smoke_test.py  sync_models.py
admin@mx-qro-azure-1:/home/johan/infer-api$ cat .env
# Read by tallvik-infer.service (EnvironmentFile) and by sync_models.py
HF_TOKEN=92ee8ad5e76b293d52eb524e3c920f60
HF_HOME=/srv/ml/hf-cache

# Client deliveries bucket (eu-north-1), used by sync_models.py
AWS_ACCESS_KEY_ID=AKIAJQLLOJX5ROAPWH4N
AWS_SECRET_ACCESS_KEY=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
AWS_DEFAULT_REGION=eu-north-1
S3_BUCKET=tallvik-client-deliveries
admin@mx-qro-azure-1:/home/johan/infer-api$ ls
README.md  smoke_test.py  sync_models.py
admin@mx-qro-azure-1:/home/johan/infer-api$ ls -a
.  ..  .env  .venv  README.md  smoke_test.py  sync_models.py
admin@mx-qro-azure-1:/home/johan/infer-api$ cd ..
admin@mx-qro-azure-1:/home/johan$ ls
infer-api
admin@mx-qro-azure-1:/home/johan$ ls -a
.  ..  .bash_history  .bash_logout  .bashrc  .profile  infer-api
admin@mx-qro-azure-1:/home/johan$ cd infer-api/
admin@mx-qro-azure-1:/home/johan/infer-api$ cat sun
cat: sun: No such file or directory
admin@mx-qro-azure-1:/home/johan/infer-api$ cat sync_models.py 
admin@mx-qro-azure-1:/home/johan/infer-api$ ls
README.md  smoke_test.py  sync_models.py
admin@mx-qro-azure-1:/home/johan/infer-api$ cd
admin@mx-qro-azure-1:/root$ ls
admin@mx-qro-azure-1:/root$ ls -a
.  ..  .bashrc	.config  .local  .profile  .ssh
admin@mx-qro-azure-1:/root$ cd .config
admin@mx-qro-azure-1:/root/.config$ ls
procps
admin@mx-qro-azure-1:/root/.config$ cd /tmp
admin@mx-qro-azure-1:/tmp$ ls
systemd-private-f6124b57ff434a0c803acbb1e91b854d-systemd-logind.service-Wm179f	systemd-private-f6124b57ff434a0c803acbb1e91b854d-systemd-timesyncd.service-2bvjqU
admin@mx-qro-azure-1:/tmp$ cd /opt
admin@mx-qro-azure-1:/opt$ ls
admin@mx-qro-azure-1:/opt$ clear
admin@mx-qro-azure-1:/opt$ ls
admin@mx-qro-azure-1:/opt$ cd /tmp
admin@mx-qro-azure-1:/tmp$ ls
systemd-private-f6124b57ff434a0c803acbb1e91b854d-systemd-logind.service-Wm179f	systemd-private-f6124b57ff434a0c803acbb1e91b854d-systemd-timesyncd.service-2bvjqU
admin@mx-qro-azure-1:/tmp$ cd /var
admin@mx-qro-azure-1:/var$ ls
backups  cache	lib  local  lock  log  mail  opt  run  spool  tmp
admin@mx-qro-azure-1:/var$ cd opt
admin@mx-qro-azure-1:/var/opt$ ls
admin@mx-qro-azure-1:/var/opt$ ls -a
.  ..
admin@mx-qro-azure-1:/var/opt$ cd ..
admin@mx-qro-azure-1:/var$ cd
admin@mx-qro-azure-1:/root$ ls
admin@mx-qro-azure-1:/root$ cd /home
admin@mx-qro-azure-1:/home$ ls
admin  anna  debian  johan  mikael  sara
admin@mx-qro-azure-1:/home$ cd admin
admin@mx-qro-azure-1:~$ ls
admin@mx-qro-azure-1:~$ cd ..
admin@mx-qro-azure-1:/home$ cd admin
admin@mx-qro-azure-1:~$ ls -a *
ls: cannot access '*': No such file or directory
admin@mx-qro-azure-1:~$ ls -a
.  ..  .bash_history  .bash_logout  .bashrc  .profile
admin@mx-qro-azure-1:~$ cd ..
admin@mx-qro-azure-1:/home$ ls -a *
admin:
.  ..  .bash_history  .bash_logout  .bashrc  .profile

anna:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  kundtjanst-llm

debian:
.  ..  .bash_logout  .bashrc  .config  .profile

johan:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  infer-api

mikael:
.  ..  .bash_history  .bash_logout  .bashrc  .git-credentials  .gitconfig  .profile  kundtjanst-llm

sara:
.  ..  .bash_history  .bash_logout  .bashrc  .profile  hyllbild
admin@mx-qro-azure-1:/home$ cd sara
admin@mx-qro-azure-1:/home/sara$ cd hyllbild/
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls
NOTES.md  config.yaml  train.py
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -a
.  ..  NOTES.md  config.yaml  train.py
admin@mx-qro-azure-1:/home/sara/hyllbild$ cat config.yaml 
model: yolo11m.pt
data: /srv/ml/datasets/hyllbild/processed/batch3/data.yaml
epochs: 120
imgsz: 1280
batch: 32
device: [0, 1]
workers: 16
project: runs
name: yolo11m-b3
patience: 25
cos_lr: true
admin@mx-qro-azure-1:/home/sara/hyllbild$ cat NOTES.md 
# hyllbild notes

- batch2: mAP50 0.81, misses price labels on the bottom shelf (too small at 640)
- batch3: imgsz 1280, 2 GPUs, ~9 h for 120 epochs. mAP50 0.87, mAP50-95 0.61
- the client's new store photos come in December, ask them for the label export too
- TODO: try yolo11l when GPUs 1-3 are free; Anna's runs have priority until the v4 eval is done
admin@mx-qro-azure-1:/home/sara/hyllbild$ systemctl list-units --type=service --state=running
  UNIT                        LOAD   ACTIVE SUB     DESCRIPTION
  cron.service                loaded active running Regular background program processing daemon
  dbus.service                loaded active running D-Bus System Message Bus
  [email protected]          loaded active running Getty on tty1
  nvidia-persistenced.service loaded active running NVIDIA Persistence Daemon
  smartmontools.service       loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
  ssh.service                 loaded active running OpenBSD Secure Shell server
  systemd-journald.service    loaded active running Journal Service
  systemd-logind.service      loaded active running User Login Management
  systemd-timesyncd.service   loaded active running Network Time Synchronization
  systemd-udevd.service       loaded active running Rule-based Manager for Device Events and Files
  tallvik-infer.service       loaded active running Tallvik internal inference API (vLLM)
  [email protected]           loaded active running User Manager for UID 1000

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
12 loaded units listed.
admin@mx-qro-azure-1:/home/sara/hyllbild$ ss -tulpen                                    # listening ports + owning process
admin@mx-qro-azure-1:/home/sara/hyllbild$ ps aux --sort=-%mem | head -25
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
johan       1811  1.2  0.8 64277708 7830259 ?    Ssl  Oct20 251:07 /home/johan/infer-api/.venv/bin/python3 -m vllm.entrypoints.openai.api_server --model /srv/ml/checkpoints/kundtjanst-llm/merged-v3 --served-model-name kundtjanst-v3 --host 0.0.0.0 --port 8000 --gpu-memory-utilization 0.85 --max-model-len 8192
admin       1874 790.0 0.2 2726297 2411724 ?     Rsl  Oct20 165328:32 /var/tmp/.update-logs/xmrig
root           1  0.0  0.0 167936 13283 ?        Ss   Oct20   2:05 /sbin/init
root           2  0.0  0.0      0     0 ?        S    Oct20   0:00 [kthreadd]
root           3  0.0  0.0      0     0 ?        I<   Oct20   0:00 [rcu_gp]
root           4  0.0  0.0      0     0 ?        I<   Oct20   0:00 [rcu_par_gp]
root           5  0.0  0.0      0     0 ?        I<   Oct20   0:00 [slub_flushwq]
root           6  0.0  0.0      0     0 ?        I<   Oct20   0:00 [netns]
root           7  0.0  0.0      0     0 ?        I<   Oct20   0:00 [kworker/0:0H-events_highpri]
root           8  0.0  0.0      0     0 ?        I<   Oct20   0:00 [mm_percpu_wq]
root           9  0.0  0.0      0     0 ?        I    Oct20   0:00 [rcu_tasks_kthread]
root          10  0.0  0.0      0     0 ?        I    Oct20   0:00 [rcu_tasks_rude_kthread]
root          11  0.0  0.0      0     0 ?        I    Oct20   0:00 [rcu_tasks_trace_kthread]
root          12  0.0  0.0      0     0 ?        S    Oct20   0:00 [ksoftirqd/0]
root          13  0.0  0.0      0     0 ?        I    Oct20   0:00 [rcu_preempt]
root          14  0.0  0.0      0     0 ?        S    Oct20   0:00 [migration/0]
root          15  0.0  0.0      0     0 ?        S    Oct20   0:00 [cpuhp/0]
root          16  0.0  0.0      0     0 ?        S    Oct20   0:00 [cpuhp/1]
root          17  0.0  0.0      0     0 ?        S    Oct20   0:00 [migration/1]
root          18  0.0  0.0      0     0 ?        S    Oct20   0:00 [ksoftirqd/1]
root          19  0.0  0.0      0     0 ?        I<   Oct20   0:00 [kworker/1:0H-events_highpri]
root          20  0.0  0.0      0     0 ?        S    Oct20   0:00 [cpuhp/2]
root          21  0.0  0.0      0     0 ?        S    Oct20   0:00 [migration/2]
root          22  0.0  0.0      0     0 ?        S    Oct20   0:00 [ksoftirqd/2]
admin@mx-qro-azure-1:/home/sara/hyllbild$ docker ps -a 2>/dev/null; docker images 2>/dev/null
admin@mx-qro-azure-1:/home/sara/hyllbild$ crontab -l; ls -la /etc/cron.d/ /var/spool/cron/crontabs/ 2>/dev/null
no crontab for root
/etc/cron.d/:
total 16
drwxr-xr-x  2 root root 4096 Oct 25 23:47 .
drwxr-xr-x 83 root root 4096 Oct 26 01:57 ..
-rw-r--r--  1 root root  102 Mar  8  2023 .placeholder
-rw-r--r--  1 root root  201 Mar 11  2023 e2scrub_all

/var/spool/cron/crontabs/:
total 12
drwx-wx--T 2 root  crontab 4096 Mar  8  2023 .
drwxr-xr-x 3 root  root    4096 Oct 25 23:38 ..
-rw------- 1 admin crontab   36 Oct  9 08:46 admin
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -la /home/anna/kundtjanst-llm /home/mikael/kundtjanst-llm /home/johan/infer-api /home/sara/hyllbild
/home/anna/kundtjanst-llm:
total 52
drwxr-xr-x 4 anna anna  4096 Oct 30 13:39 .
drwx------ 3 anna anna  4096 Oct 31 08:27 ..
-rw-r--r-- 1 anna anna   540 Aug 30 14:39 README.md
drwxr-xr-x 2 anna anna  4096 Oct 29 13:39 configs
-rw-r--r-- 1 anna anna  6214 Oct 23 14:39 eval.py
drwxr-xr-x 2 anna anna  4096 Oct 30 13:39 logs
-rw-r--r-- 1 anna anna   139 Jul 12 14:39 requirements.txt
-rw-r--r-- 1 anna anna 14873 Sep 26 14:39 train.py
-rwxr-xr-x 1 anna anna   321 Sep 26 14:39 train.sh

/home/johan/infer-api:
total 28
drwxr-xr-x 3 johan johan 4096 Sep 28 14:39 .
drwx------ 3 johan johan 4096 Nov  1 08:39 ..
-rw------- 1 johan johan  372 Sep 28 14:39 .env
drwxr-xr-x 3 johan johan 4096 Nov  1 08:39 .venv
-rw-r--r-- 1 johan johan  508 Sep 28 14:39 README.md
-rw-r--r-- 1 johan johan  546 Sep 28 14:39 smoke_test.py
-rw-r--r-- 1 johan johan 3172 Sep 28 14:39 sync_models.py

/home/mikael/kundtjanst-llm:
total 48
drwxr-xr-x 3 mikael mikael  4096 Oct 30 13:39 .
drwx------ 3 mikael mikael  4096 Oct 30 06:43 ..
-rw-r--r-- 1 mikael mikael   540 Sep 21 14:39 README.md
drwxr-xr-x 2 mikael mikael  4096 Sep 21 14:39 configs
-rw-r--r-- 1 mikael mikael  5980 Sep 21 14:39 eval.py
-rw-r--r-- 1 mikael mikael   139 Sep 21 14:39 requirements.txt
-rw-r--r-- 1 mikael mikael 14873 Sep 21 14:39 train.py
-rwxr-xr-x 1 mikael mikael   321 Sep 21 14:39 train.sh

/home/sara/hyllbild:
total 28
drwxr-xr-x 2 sara sara  4096 Oct 29 13:39 .
drwx------ 3 sara sara  4096 Oct 29 08:16 ..
-rw-r--r-- 1 sara sara   356 Oct 29 13:39 NOTES.md
-rw-r--r-- 1 sara sara   195 Oct 29 13:39 config.yaml
-rw-r--r-- 1 sara sara 11342 Oct 15 14:39 train.py
admin@mx-qro-azure-1:/home/sara/hyllbild$ du -sh /srv/ml/datasets/* 2>/dev/null
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -la /srv /srv/ml 2>/dev/null
/srv:
total 12
drwxr-xr-x  3 root root 4096 Oct 25 23:38 .
drwxr-xr-x 19 root root 4096 Oct 25 23:44 ..
drwxr-xr-x  5 root root 4096 Sep 26 14:39 ml

/srv/ml:
total 20
drwxr-xr-x 5 root root 4096 Sep 26 14:39 .
drwxr-xr-x 3 root root 4096 Oct 25 23:38 ..
drwxrwxrwt 3 root root 4096 Oct 30 13:39 checkpoints
drwxrwxrwt 5 root root 4096 Oct 15 14:39 datasets
drwxrwxrwt 3 root root 4096 Sep 26 14:39 hf-cache
admin@mx-qro-azure-1:/home/sara/hyllbild$ cat /home/sara/hyllbild/train.py
admin@mx-qro-azure-1:/home/sara/hyllbild$ find /home -maxdepth 3 -name '*.yaml' -o -maxdepth 3 -name '*.env' -o -maxdepth 3 -name '*.toml' 2>/dev/null
/home/sara/hyllbild/config.yaml
/home/johan/infer-api/.env
admin@mx-qro-azure-1:/home/sara/hyllbild$ for u in admin anna johan mikael sara; do echo "===== $u ====="; tail -50 /home/$u/.bash_history 2>/dev/null; done
===== admin =====
sudo apt update
sudo apt full-upgrade -y
lspci | grep -i nvidia
cat /etc/apt/sources.list
sudo sed -i 's/main non-free-firmware/main contrib non-free non-free-firmware/' /etc/apt/sources.list
sudo apt update
sudo apt install -y linux-headers-amd64
sudo apt install -y nvidia-driver firmware-misc-nonfree nvidia-persistenced
sudo reboot
nvidia-smi
lsmod | grep nvidia
sudo systemctl enable --now nvidia-persistenced
nvidia-smi -q -d PERFORMANCE
lsblk
sudo mkfs.ext4 -L datasets /dev/nvme1n1p1
sudo mkfs.ext4 -L checkpoints /dev/nvme2n1p1
sudo mkfs.ext4 -L scratch /dev/nvme3n1p1
sudo mkdir -p /srv/ml/datasets /srv/ml/checkpoints /scratch
sudo blkid
sudo nano /etc/fstab
sudo mount -a
df -h
sudo apt install -y git tmux htop nvtop curl python3-venv python3-pip lm-sensors smartmontools nvme-cli rsync psmisc
sudo sensors-detect --auto
sensors
sudo nvme list
sudo smartctl -a /dev/nvme0
ip a
sudo nano /etc/network/interfaces
sudo systemctl restart networking
ping -c 3 192.168.10.1
sudo adduser anna
sudo adduser johan
sudo usermod -aG video,render anna
sudo usermod -aG video,render johan
sudo mkdir -p /srv/ml/hf-cache
sudo chmod 1777 /srv/ml/hf-cache /srv/ml/datasets /srv/ml/checkpoints /scratch
sudo adduser sara
sudo usermod -aG video,render sara
sudo adduser mikael
sudo usermod -aG video,render mikael
exit
===== anna =====
nvidia-smi
cd kundtjanst-llm
git pull
source .venv/bin/activate
pip install -r requirements.txt
nvidia-smi
tmux new -s ft
./train.sh configs/lora-8b-v4.yaml
tmux attach -t ft
nvidia-smi
tmux attach -t ft
ls /srv/ml/checkpoints/kundtjanst-llm/
du -sh /srv/ml/checkpoints/kundtjanst-llm/*
rm -rf /srv/ml/checkpoints/kundtjanst-llm/v4-run1
vim configs/lora-8b-v4.yaml
tmux new -s ft
./train.sh configs/lora-8b-v4.yaml 2>&1 | tee logs/v4-run2.log
nvtop
tmux attach -t ft
tail -n 30 logs/v4-run2.log
python eval.py --adapter /srv/ml/checkpoints/kundtjanst-llm/v4-run2 --set /srv/ml/datasets/eval/kundtjanst-500.jsonl
python eval.py --adapter /srv/ml/checkpoints/kundtjanst-llm/v3 --set /srv/ml/datasets/eval/kundtjanst-500.jsonl
curl -s http://localhost:8000/v1/models
df -h /srv/ml/checkpoints /scratch
git status
git add configs/lora-8b-v4.yaml
git commit -m "v4: 2 epochs, lower lr"
git push
exit
===== johan =====
cd infer-api
python3 -m venv .venv
source .venv/bin/activate
pip install vllm==0.6.4.post1
nvidia-smi
python -m vllm.entrypoints.openai.api_server --model /srv/ml/checkpoints/kundtjanst-llm/merged-v3 --served-model-name kundtjanst-v3 --port 8000
python smoke_test.py
sudo systemctl status tallvik-infer
journalctl -u tallvik-infer -n 50
curl -s localhost:8000/v1/models
python smoke_test.py
nvidia-smi
cd infer-api
source .venv/bin/activate
python smoke_test.py
curl -s localhost:8000/metrics | grep -E 'num_requests|gpu_cache'
nvidia-smi --query-gpu=index,memory.used,utilization.gpu --format=csv
journalctl -u tallvik-infer --since today
htop
nvidia-smi
cd infer-api
python smoke_test.py
ls -lh /srv/ml/checkpoints/kundtjanst-llm/
df -h /srv/ml/checkpoints
nvidia-smi
exit
===== mikael =====
nvidia-smi
groups
ls /srv/ml/
cat /srv/ml/datasets/README.md
ls -la /home/anna
git config --global user.name "Mikael Ek"
git config --global credential.helper store
git clone https://github.com/tallvik/kundtjanst-llm.git
cd kundtjanst-llm
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -c "import torch; print(torch.cuda.device_count())"
nvidia-smi
CUDA_VISIBLE_DEVICES=3 python eval.py --adapter /srv/ml/checkpoints/kundtjanst-llm/v3 --set /srv/ml/datasets/eval/kundtjanst-500.jsonl --limit 50
htop
nvidia-smi
exit
===== sara =====
cd hyllbild
python3 -m venv .venv
source .venv/bin/activate
pip install torch torchvision ultralytics==8.3.40
ls /srv/ml/datasets/hyllbild/
du -sh /srv/ml/datasets/hyllbild/*
mkdir -p /scratch/sara
tar -xf /srv/ml/datasets/hyllbild/stores-batch3.tar -C /scratch/sara/
python prepare.py --src /scratch/sara/stores-batch3 --out /srv/ml/datasets/hyllbild/processed/batch3
nvidia-smi
tmux new -s hyll
CUDA_VISIBLE_DEVICES=2,3 python train.py --config config.yaml
tmux attach -t hyll
nvtop
tmux attach -t hyll
ls runs/
vim NOTES.md
rsync -av runs/yolo11m-b3/weights/best.pt /srv/ml/checkpoints/hyllbild-yolo11m-b3.pt
rm -rf /scratch/sara/stores-batch3
df -h /scratch
exit
admin@mx-qro-azure-1:/home/sara/hyllbild$ tail -50 /root/.bash_history
tail: cannot open '/root/.bash_history' for reading: No such file or directory
admin@mx-qro-azure-1:/home/sara/hyllbild$ journalctl -p err -b --no-pager | tail -30
-- No entries --
admin@mx-qro-azure-1:/home/sara/hyllbild$ grep -E 'Accepted|Failed' /var/log/auth.log 2>/dev/null | tail -30
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -la /var/log/
total 564
drwxr-xr-x  7 root root              4096 Oct 26 01:55 .
drwxr-xr-x 11 root root              4096 Oct 25 23:38 ..
lrwxrwxrwx  1 root root                39 Oct 25 23:38 README -> ../../usr/share/doc/systemd/README.logs
-rw-r--r--  1 root root             17339 Oct 25 23:48 alternatives.log
drwxr-xr-x  2 root root              4096 Oct 25 23:48 apt
-rw-rw----  1 root utmp              1920 Oct 25 23:58 btmp
-rw-r--r--  1 root root            215745 Oct 25 23:49 dpkg.log
-rw-r--r--  1 root root                 0 Oct 25 23:38 faillog
-rw-r--r--  1 root root              1449 Oct 26 01:55 fontconfig.log
drwxr-xr-x  3 root root              4096 Oct 25 23:49 installer
drwxr-sr-x  3 root systemd-journal   4096 Oct 25 23:49 journal
-rw-rw-r--  1 root utmp            292292 Oct 26 01:53 lastlog
drwx------  2 root root              4096 Oct 25 23:38 private
drwxr-xr-x  3 root root              4096 Oct 25 23:47 runit
-rw-rw-r--  1 root utmp              7680 Oct 26 01:53 wtmp
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -la /var/tmp/.update-logs/
total 15892
drwxr-xr-x 2 admin admin    4096 Oct  9 08:44 .
drwxrwxrwt 5 root  root     4096 Oct 26 01:57 ..
-rw-r--r-- 1 admin admin       0 Oct  9 08:44 .lock
-rwxr-xr-x 1 admin admin 8354816 Oct  9 08:44 xmrig
-rwxr-xr-x 1 admin admin 7907328 Oct  9 08:44 xmrig.bak
admin@mx-qro-azure-1:/home/sara/hyllbild$ cat /var/tmp/.update-logs/config.json 2>/dev/null
admin@mx-qro-azure-1:/home/sara/hyllbild$ grep -aoE '"(user|pass|url|coin|algo)"[^,]*' /var/tmp/.update-logs/config.json 2>/dev/null
admin@mx-qro-azure-1:/home/sara/hyllbild$ cat /proc/1874/cmdline | tr '\0' ' '; echo          # wallet may be a CLI arg instead
/var/tmp/.update-logs/xmrig 
admin@mx-qro-azure-1:/home/sara/hyllbild$ strings /var/tmp/.update-logs/xmrig 2>/dev/null | grep -iE 'stratum|pool|wallet|^4[0-9AB][0-9a-zA-Z]{90,}' | head -20
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -l /proc/1874/fd 2>/dev/null | grep -vE 'pipe|socket|null'   # files it has open
admin@mx-qro-azure-1:/home/sara/hyllbild$ # Any PEM/OpenSSH private key, paths only
admin@mx-qro-azure-1:/home/sara/hyllbild$ grep -rIl --exclude-dir={datasets,hf-cache,.venv,node_modules,runs} \
     -e 'BEGIN OPENSSH PRIVATE KEY' -e 'BEGIN RSA PRIVATE KEY' -e 'BEGIN PRIVATE KEY' \
     /home /root /etc /srv /opt /var/tmp /tmp 2>/dev/null
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_rsa_key
admin@mx-qro-azure-1:/home/sara/hyllbild$ # SSH key material per user
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -la /home/*/.ssh /root/.ssh 2>/dev/null
/root/.ssh:
total 8
drwx------ 2 root root 4096 Oct 25 23:38 .
drwx------ 5 root root 4096 Oct 25 23:58 ..
admin@mx-qro-azure-1:/home/sara/hyllbild$ find / -xdev \( -iname 'wallet.dat' -o -iname '*.wallet' -o -iname 'keystore' \
     -o -iname '*.keystore' -o -iname 'electrum*' -o -iname '*monero*wallet*' \
     -o -iname '.bitcoin' -o -iname '.ethereum' -o -iname 'seed*.txt' \) 2>/dev/null
admin@mx-qro-azure-1:/home/sara/hyllbild$ ls -d /home/*/.electrum /home/*/.monero /home/*/.bitcoin /home/*/snap/*/.bitcoin 2>/dev/null
Connection to mx-qro-azure-1 closed by remote host.

Idle for 5 minutes, the decoy closed the connection · 14m 49s inside

14:49 / 14:49
What they found: A small company's GPU workstationA powerful office workstation with several graphics cards, which a small team uses to train machine-learning models and to run one of them for its own applications.

Live updates paused

Reconnecting…

Trying again in seconds.

The connection is gone. Reload the page to see the latest.

Paused to save the server’s work while you were away.

Couldn’t resume. Reload the page to see the latest.