This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:general:putty [2017/03/01 12:50] – external edit 127.0.0.1 | linux:general:putty [2017/11/15 17:34] – lunetikk | ||
---|---|---|---|
Line 51: | Line 51: | ||
< | < | ||
regedit /e " | regedit /e " | ||
+ | </ | ||
+ | |||
+ | ==== Plink ==== | ||
+ | |||
+ | You can use Plink (which is part of the PuTTY bundle) to connect your Powershell via SSH to your Linux.\\ | ||
+ | <code powershell plinx-example.ps1> | ||
+ | $ips = Get-Content -path " | ||
+ | | ||
+ | $user = " | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | <code bash command.txt> | ||
+ | hostname | ||
+ | uptime | ||
+ | </ | ||
+ | |||
+ | <code text ips.txt> | ||
+ | 10.0.0.10 | ||
+ | 10.0.0.15 | ||
+ | 10.0.0.16 | ||
</ | </ | ||