Ssh-copy-id unter Windows mittels Batch Datei: Unterschied zwischen den Versionen
K Textersetzung - „<source“ durch „<syntaxhighlight“ |
K Textersetzung - „</source>“ durch „</syntaxhighlight>“ |
||
| Zeile 7: | Zeile 7: | ||
type %PUBLICKEY% | plink.exe -ssh -l %USER% -pw "%PASSWORD%" %TARGETSYSTEM% "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" | type %PUBLICKEY% | plink.exe -ssh -l %USER% -pw "%PASSWORD%" %TARGETSYSTEM% "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" | ||
</ | </syntaxhighlight> | ||
[[Kategorie:Scripting]] | [[Kategorie:Scripting]] | ||
[[Kategorie:Windows]] | [[Kategorie:Windows]] | ||
[[Kategorie:Batch]] | [[Kategorie:Batch]] | ||