V
V
Victor Marquardt2016-10-25 12:46:38
SSH
Victor Marquardt, 2016-10-25 12:46:38

How to pass command to terminal via putty run options?

There are several computers running Ubuntu, how to pass commands to the console through putty options. It turns out to run and log in, but how to send commands ?? For example "sudo poweroff".
Putyy from windows, do this:
start "putty" "e:\soft\putty.exe" -ssh 192.168.114.108:22 -l User -pw PASS

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2016-10-25
@Cempl

ssh [email protected] sudo poweroff

L
lexa322, 2016-10-25
@lexa322

openwiki.ru/wiki/PuTTY

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question