518 B
518 B
get keys ssh-keygen -t ed25519 -C "vastai-$(whoami)@$(hostname)-$(Get-Date -UFormat %Y%m%d)" -f "D:\Nextcloud_STORAGE\keys\vastai\id_ed25519" Get-Content "D:\Nextcloud_STORAGE\keys\vastai\id_ed25519.pub" -Raw | Set-Clipboard
SSH ssh -i "D:\Nextcloud_STORAGE\keys\vastai\id_ed25519" -p 12547 root@ssh8.vast.ai -L 8080:localhost:8080
port forward ssh -i "D:\Nextcloud_STORAGE\keys\vastai\id_ed25519" -o IdentitiesOnly=yes -N -L 11434:localhost:21434 -L 7500:localhost:17500 -p 12547 root@ssh8.vast.ai