Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
sudo apt install qemu-system # get image wget "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2" # start VM with port forwarding qemu-system-x86_64 -enable-kvm -m 1G -hda debian-12-nocloud-amd64.qcow2 -nic user,hostfwd=tcp::5022-:22 #in VM apt update apt install -y gpm nmap apt reinstall openssh-server adduser newuser # set PasswordAuthentication yes vim /etc/ssh/sshd_config /etc/init.d/sshd restart # webserver # start VM with port forwarding qemu-system-x86_64 -enable-kvm -m 1G -hda debian-12-nocloud-amd64.qcow2 -nic user,hostfwd=tcp::5080-:80 apt install apache2 # headless qemu-system-x86_64 -enable-kvm -m 1G -hda debian-12-nocloud-amd64.qcow2 -nic user,hostfwd=tcp::5080-:80 -nographic # both ports forwarded qemu-system-x86_64 -enable-kvm -m 1G -hda debian-12-nocloud-amd64.qcow2 -nic user,hostfwd=tcp::5080-:80,hostfwd=tcp::5022-:22 -nographic
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)