HiveMinds / SSL4Tor

Creates self-signed SLL/https certificates for your own tor website/onion domain.
GNU Affero General Public License v3.0
1 stars 1 forks source link

Write ssh copy commands to get updated server and client gifs. #19

Open a-t-0 opened 1 year ago

a-t-0 commented 1 year ago

Currently, if the behaviour/verbosity of the system is updated, the gifs are manually created and retrieved from fresh Ubuntu installations in Qemu, through their onion domain and ssh copy.

Ideally integrate this with (GitLab) CI and a production pipeline.

a-t-0 commented 1 year ago

In server

./src/main.sh -1d1s --record-cli ~/server

Then

./src/main.sh \
  --1-domain-1-service \
  --delete-onion-domain \
  --services 8050:gitlab:8070/9001:dash:9002/22:ssh:22 \
  --make-onion-domains \
  --ssl-password somepassword \
  --background-dash \
  --make-ssl-certs \
  --setup-ssh-server \
  --get-onion-domain

Then copy the ssh onion.

In client

./src/main.sh \
 --1-domain-1-service \
 --setup-ssh-client \
 --set-server-username <Ubuntu username of your server> \
 --set-server-ssh-onion <server ssh onion>.onion
 --get-server-gif

That's it, now the client should have the server.gif in its root of this SSL4Tor repository.