netsh interface portproxy add v4tov4 listenaddress=192.168.13.17 \
listenport=8080 connectaddress=172.23.53.217 connectport=80
#!/bin/bash
rem_host="10.10.8.5"
rem_user="Username"
remote_password="pass"
ps_script="/path/to/my_script.ps1"
sshpass -p "$remote_password" ssh "$remote_user"@"$remote_host" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null << EOF
plink -ssh -t -pw $remote_password $remote_user@$remote_host "powershell.exe -ExecutionPolicy Bypass -File $ps_script"
EOF
#!/bin/bash
rem_host="10.10.8.5"
rem_user="Username"
remote_password="pass"
ps_script="/path/to/my_script.ps1"
powershell -NoLogo -NonInteractive -NoProfile -Command "$secure_password = ConvertTo-SecureString '$remote_password' -AsPlainText -Force; $credential = New-Object System.Management.Automation.PSCredential('$remote_user', $secure_password); $session = New-PSSession -ComputerName $remote_host -Credential $credential -UseSSL; Invoke-Command -Session $session -FilePath $ps_script"
deb http://archive.ubuntu.com/ubuntu/ focal main restricted
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted
deb http://archive.ubuntu.com/ubuntu focal universe
deb http://archive.ubuntu.com/ubuntu focal-updates universe
deb http://archive.ubuntu.com/ubuntu focal multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-security main restricted
deb http://archive.ubuntu.com/ubuntu focal-security universe
deb http://archive.ubuntu.com/ubuntu focal-security multiverse