Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

read on remote machine

Name: Anonymous 2012-03-22 13:29

I want to run read using a local bash script on a remote machine. It works in a string but not as a file.


anon@HP-xw4600:~$ ssh anon@aids.net "read aids ; echo \$aids"
anon@aids.net's password:
aids!
aids!
anon@HP-xw4600:~$ ssh anon@aids.net 'bash -s' < aids.sh
anon@aids.net's password:
anon@HP-xw4600:~$ cat aids.sh
#! /bin/bash
read aids
echo \$aids
exit 0


Tell me why-eee!

Name: Anonymous 2012-03-23 15:03


         __
        /\_\
       / / /_
      / /_/\ \
     _\ \/  \ \
    /\ \  /\ \_\
    \ \/  \ \/_/
     \  /\ \_\
      \/_/ / /
        / / /
        \/_/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List