Created
May 11, 2011 12:28
-
-
Save linuxbender/966372 to your computer and use it in GitHub Desktop.
SSH with plink (putty) = remote send linux command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\TMP\plink.exe -ssh -P 22 -pw DemoPassword -2 -4 DemoUser@www.demo.dev "cat /proc/mdstat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment