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