Use ssh pub key authentication. You can either use a key without a password, which will get you right in, or else you can use ssh-agent, which will remember your password. http://www.cs.umd.edu/~arun/misc/ssh.html You also might want to check out keychain: http://www.gentoo.org/projects/keychain.html On Thu, 05 Sep 2002, Jim Streit wrote: > All I really need to do is append a remote file, and this works great. > One more thing, is there a was to pass a password or use a password file > so that I don't get prompted for a password after I execute the command? > > > On Thu, Sep 05, 2002 at 11:04:32AM -0500, Clay Fandre wrote: > >> If you just need to append data remotely, you can use an ssh pipe and > >> perl: > >> > >> echo text | ssh remotemachine "perl -we 'print <STDIN>' >> remotefile" > > > > Why add perl to the mix? The shell can do this just as well. > > > > echo "This is a test" | ssh logger at remotemachine 'cat >> remotefile' > > > > Nate > > _______________________________________________ > > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > > Minnesota http://www.mn-linux.org > > tclug-list at mn-linux.org > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list