From: "Anton V. Boyarshinov" <boyarsh@ru.echo.fr>
To: community@altlinux.ru
Subject: Re: [Comm] Remote shutdown
Date: Fri, 7 Mar 2003 12:05:26 +0300
Message-ID: <20030307090024.38C9C2B51B@mail.ru.echo.fr> (raw)
In-Reply-To: <00af01c2e486$9aa80b50$4c00a8c0@ig>
On Fri, 7 Mar 2003 11:50:26 +0300 Roman Grigoriev
wrote:
> > > В принципе схема несложная: на линуксе сидит демон, слушает
> > > некий порт. По приходу некоего сообщения на этот порт
> > > (после проверки его валидности) дергает команду shutdown.
> >
> > И имя этого демона: sshd ;)
>
> немного не понял тоесть как это запрограммировать на виндовсе?
Прочитать man ssh, настроить авторизацию по ключам и вызывать из
свой программы под windows что-нибудь типа
ssh user@host 'sudo poweroff'
Антон
Мне кажется, что здесь это не в тему...
--
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
12:00:00 up 1 day, 19:30, 11 users, load average: 0.12, 0.08,
0.01
next prev parent reply other threads:[~2003-03-07 9:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 9:28 [Comm] Локаль Андрей Новосёлов
2003-03-06 10:10 ` Yura Kalinichenko
2003-03-06 13:55 ` Андрей Новосёлов
2003-03-06 14:04 ` [Comm] Remote shutdown Roman Grigoriev
2003-03-06 14:13 ` Dmytro O. Redchuk
2003-03-06 14:22 ` Roman Grigoriev
2003-03-06 14:34 ` Dmytro O. Redchuk
2003-03-06 14:44 ` Antonio
2003-03-06 14:35 ` Anton V. Boyarshinov
2003-03-07 8:50 ` Roman Grigoriev
2003-03-07 9:05 ` Anton V. Boyarshinov [this message]
2003-03-07 9:22 ` Roman Grigoriev
2003-03-07 9:32 ` Anton V. Boyarshinov
2003-03-07 9:47 ` Padukov Vladimir
2003-03-07 10:32 ` Mike Lykov
2003-03-07 12:01 ` Dmitry S Kiselev
2003-03-07 12:10 ` [Comm] " Sergey Vlasov
2003-03-07 12:37 ` Dmitry S Kiselev
2003-03-07 12:52 ` Sergey Vlasov
2003-03-07 14:24 ` Roman Grigoriev
2003-03-11 11:36 ` Anton V. Boyarshinov
2003-03-06 14:42 ` [Comm] Локаль Yura Kalinichenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030307090024.38C9C2B51B@mail.ru.echo.fr \
--to=boyarsh@ru.echo.fr \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git