I cannot believe how simple this is, yet I had to google to figure it out (why oh why didn’t I just read the ‘man’ pages). The syntax for executing a remote command is as simple as:
## SYNTAX ssh [user]@[remote host] [command] ## EXAMPLE ssh techedemic@192.168.1.200 df -h techedemic@192.168.1.200's password: Filesystem Size Used Avail Use% Mounted on /dev/mapper/td--VG1-td--LV2 443G 89G 332G 22% / udev 993M 4.0K 993M 1% /dev tmpfs 401M 628K 401M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1002M 0 1002M 0% /run/shm /dev/sda1 241M 38M 191M 17% /boot |
Hi my name is Jacqueline and I just wanted to drop you a quick note here instead of calling you. I discovered your Execute command via SSH on remote box and output to local | Techedemic page and noticed you could have a lot more visitors. I have found that the key to running a successful website is making sure the visitors you are getting are interested in your subject matter. There is a company that you can get targeted traffic from and they let you try their service for free for 7 days. I managed to get over 300 targeted visitors to day to my website. Visit them here: http://zoy.bz/4nn