GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Two terminal windows showing the command in the toot being executed on terminal 1, and be produced as a wall message on terminal 2. (The remote host)

Download link

https://media.digitaldarkage.cc/digitaldarkage.media/media_attachments/files/114/498/194/798/786/646/original/5190d1817af6bbab.png

Notices where this attachment appears

  1. Embed this notice
    IAintShootinMis (iaintshootinmis@digitaldarkage.cc)'s status on Tuesday, 13-May-2025 11:57:38 JST IAintShootinMis IAintShootinMis

    Man, #ssh never ceases to amaze me.

    Just learned (after 15years on #linux) that you can execute a command on a remote host using the ' ' convention.

    E.g.; ssh root@host 'date' will 1) start a connection, 2) execute date on the remote host 3) return the output of date 4) and finally close the connection.

    Even better you can pipe things to the command. So echo "dog" | ssh root@1.x.x.x 'wall' will send the word "dog" to all logged in users.

    I should have assumed something like this exists

    In conversation about 22 days ago from digitaldarkage.cc permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.