With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
share some programs you made up, and give or get tips on them
We have a be nice comment policy. Please be positive and constructive.
We noticed you attached photosto your comment.
ssh <username>@<host> <command>
If you have not created a ~/.ssh/authorized_keys file for your account on all of the remote machines, you'll be prompted to enter your remote password for each host.
The command (including arguments or option flags), can be anything. The simplest example
ssh <host> ls
will show you the contents of your own account's home directory on the remote host.
If the command needs special characters in the arguments, if it's a shell command, you may need to include quotes or escapes to ensure that special characters are not interpreted by your local shell. For example,
ssh <host> 'echo "Hello, World"'
There is no build-in command-line for "broadcasting" commands to multiple hosts on a LAN. You could write your own TCP or socket-based executable to do that, but network administrators get extremely annoyed with broadcast IP, and will either kick you in the groin and then beat you unconscious, or shut down your account permanently for trying an idiotic stunt like that.
Posted:Feb 28, 2011
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.