![]() ![]() I need some batch script that allows to ssh into a server and executes a script, from there I can continue with the terminal and enter all my variables into the script and so on, this is just to save me the time to manually log in and start the script. Interactive: Script requires interaction(enter some parameters) Script use case: start a live stream recording software ![]() When you run PuTTY Portable on a Windows machine and connect it with a Unix machine, it opens a window. Now I'd like to accomplish the same without putty/plink as they are mostly recommended in 10 year old posts and the thing with the key management and pageant is really annoying. PuTTY Portable is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an XTerm terminal emulator. Past releases of PuTTY are versions we thought were reasonably likely to work well, at the time they were released. See the Latest Release page for the most up-to-date release (currently 0.80). 0.72, released on, is not the latest release. Plink -ssh -t -i "" -batch "./path/to/script.sh" This page contains download links for PuTTY release 0.72. I used putty (plink) until now to ssh into my server and start a interactive script from a simple batch file: ![]() To allow executing scripts with interaction. For anyone else finding this post in the future use ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |