[solved] RE: sh files question

Anna EdwARds ash.1574 at hotmail.com
Tue Nov 4 22:12:57 UTC 2008


> Subject: Re: sh files question> From: smoot at tic.com> To: ubuntu-users at lists.ubuntu.com> Date: Tue, 28 Oct 2008 15:39:25 -0700> > On Tue, 2008-10-28 at 15:18 -0700, John Hubbard wrote:> > Anna EdwARds wrote:> > > I have a question. Is sh capable of being run on one computer (say > > > anna-desktop), not through ssl, but open an ssl to anna-router while > > > running? Say its the following> > > ssl anna-router> > > username ash1574> > > password ******** [the password is in there]> > > apt-get moo> > > > > > Is this possible in an sh file or do i have to use the broom myself?> > >> > Not sure about 'ssl' but with ssh/scp you can do this easily. First > > copy the file you want to run to the remote machine. > > scp localFile remoteMachine:pathToNewFile/> > then you do an> > ssh remoteMachine pathToNewFile/fileNAME> > see man ssh and man scp for more information.> > google around and you can even have it set up to not prompt you for a > > password. > > You do not even need to copy the file to the remote machine. Do:> > ssh remote_host sh <file> > Where file is a file of shell commands.> -- > Smoot Carl-Mitchell> System/Network Architect> smoot at tic.com> +1 480 922 7313> cell: +1 602 421 9005> > -- > ubuntu-users mailing list> ubuntu-users at lists.ubuntu.com> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-usersThanks. Also, grandma, keep the info in this message.
 
_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081104/d17e0362/attachment.html>


More information about the ubuntu-users mailing list