Search Results

Search: Posts Made By: Wrathe
53,201
Posted By Wrathe
#10 - I did try it myself, that wasn't theory I...
#10 - I did try it myself, that wasn't theory I replied w/ there, that was the actual results.

#11 - Of course I can just execute hostname and be done. Hostname is just a simple return command to...
53,201
Posted By Wrathe
Right. And what happens if you use the...
Right.

And what happens if you use the example:

ssh HostB "echo \`hostname\`"

You get a literal return of:

`hostname`

Not HostB
53,201
Posted By Wrathe
#2
Thanks for the reply.

Yes, I knew I could for loop commands, but the issue was trying to understand why echo is being interpreted locally.

What I've done in the mean time is write a sshpush...
53,201
Posted By Wrathe
SSH, Remote Commands and echo, oh my!
So, HostB has a SSH trust via pre-shared keys from HostA.

HostA> ssh HostB hostname
HostB

HostA> ssh HostB echo `hostname`
HostA

HostA> ssh HostB 'echo `hostname`'
`hostname`

HostA>...
Forum: Cybersecurity 06-30-2009
2,872
Posted By Wrathe
Recommended Solutions for Mass Command Execution
What methods/programs do folks use or recommend for a large mixed environment?

We have a mix of OS's from HPUX, Tru-64 (ya still), AIX, and Linux flavors. I'm looking at ~300 nodes to manage and...
2,424
Posted By Wrathe
Sed Range Issue
OK, so for a grand overview of what I'm trying to do:

I've got 2 files that are mostly like.
The file format is:

[descriptor1]
data
data
data
data

[descriptor2]
data
data
data
data...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy