This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:general:putty [2017/01/17 11:29] – lunetikk | linux:general:putty [2019/12/10 17:11] (current) – lunetikk | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| === PuTTY === | === PuTTY === | ||
| - | This is the most common client | + | This is the most common client\\ |
| [[http:// | [[http:// | ||
| === KiTTY === | === KiTTY === | ||
| - | This client is PuTTY with some extra features which are really helpful | + | This client is PuTTY with some extra features which are really helpful\\ |
| [[http:// | [[http:// | ||
| Line 17: | Line 17: | ||
| === SSH Key === | === SSH Key === | ||
| - | Download " | + | Download " |
| [[http:// | [[http:// | ||
| - | - Select SSH-2 RSA | + | - Select SSH-2 RSA\\ |
| - | - 2048 bit or higher | + | - 2048 bit or higher\\ |
| - | - Click generate | + | - Click generate\\ |
| - | - Edit comment | + | - Edit comment\\ |
| - | - Set a passphrase to secure your key | + | - Set a passphrase to secure your key\\ |
| - | - Save public and private key | + | - Save public and private key\\ |
| - | - Copy the key on top into your " | + | - Copy the key on top into your " |
| === Autologin === | === Autologin === | ||
| - | Connection -> Data -> " | + | Connection -> Data -> " |
| Connection -> SSH -> " | Connection -> SSH -> " | ||
| === Xming/X11 === | === Xming/X11 === | ||
| - | Install Xming | + | Install Xming\\ |
| [[https:// | [[https:// | ||
| - | Enable X11 | + | Enable X11\\ |
| Connection -> SSH -> X11 -> " | Connection -> SSH -> X11 -> " | ||
| Line 52: | Line 52: | ||
| regedit /e " | regedit /e " | ||
| </ | </ | ||
| + | |||
| + | ==== Plink ==== | ||
| + | |||
| + | Plink is PuTTY without GUI. You can use Plink (which is part of the PuTTY bundle) to connect to a Linuxsystem in Powershell via SSH.\\ | ||
| + | <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 | ||
| + | </ | ||
| + | |||
| + | ==== Hotkeys ==== | ||
| + | |||
| + | ^ Command | ||
| + | | CTRL + l | clears text on screen | ||
| + | | CTRL + w | removes word before cursor | ||
| + | | ALT + d | removes word after cursor | ||
| + | | CTRL + d | logout current user |\\ | ||
| + | | CTRL + c | cancel running tasks |\\ | ||
| + | |||
| \\ | \\ | ||
| \\ | \\ | ||
| - | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |