sh files question
John Hubbard
ender8282 at yahoo.com
Tue Oct 28 22:18:04 UTC 2008
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.
--
-john
To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.
More information about the ubuntu-users
mailing list