{"id":310,"date":"2014-07-23T14:37:00","date_gmt":"2014-07-23T14:37:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=310"},"modified":"2022-11-05T10:53:19","modified_gmt":"2022-11-05T10:53:19","slug":"run-multiple-commands-from-a-plink-exe-ssh-session","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=310","title":{"rendered":"Run Multiple Commands from a Plink.exe SSH Session"},"content":{"rendered":"\n<p>You can do this with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>plink.exe -ssh -pw &lt;password> &lt;username>@&lt;hostname\/IP> -m commands.txt<\/code><\/pre>\n\n\n\n<p>Then in the commands.txt file you just put in the commands that you wish to run within the session. This has been tested on Linux.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can do this with: Then in the commands.txt file you just put in the commands that you wish to run within the session. This has been tested on Linux.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-310","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=310"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/310\/revisions"}],"predecessor-version":[{"id":1457,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/310\/revisions\/1457"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}