Skip to content

Instantly share code, notes, and snippets.

@linuxbender
Created May 11, 2011 12:28
Show Gist options
  • Save linuxbender/966372 to your computer and use it in GitHub Desktop.
Save linuxbender/966372 to your computer and use it in GitHub Desktop.
SSH with plink (putty) = remote send linux command
#
# daniel glenn
#
Wurden mit PUTTYGEN erzeugt:
Public Key - File Name enden mit _pub z.B: dsa_2_1024_storage_pub
Private Key mit der File extension *.ppk z.B: dsa_2_1024_storage.ppk
Beschreibung:
Verschlüsselungs Art : dsa
SSh Version : 2
verschlüsselungs Stärke : 1024 bit
Name : storage
Public or private Key: _pub or *.ppk
Key Passphrase : demo
#01 Den Public Key im Home {cd ~ } Profile vom User ablegen unter dem Folder { cd .ssh }
#02 Den Public key am ssh-again registrieren
#03 Test z.b mit plink unter MS Windows
C:\TMP\plink.exe -ssh -P 22 -2 -4 DemoUser@www.demo.dev "cat ls -l"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment