Advertisement

07.04.2008 at 01:17AM PDT, ID: 23538955
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.5

ssh script that contain remote box's commands (like ftp script that contains "cd ..", "get...", "ascii") needed;  Tintin or anyone

Asked by sunhux in Sun Solaris, Linux, SSH / Telnet Software

Tags: , ,

We can put ftp commands/parameters into a input file for Shell script
(like password, "cd ...", "get...").  Is it possible to do this with openssh
that comes with Solaris/Linux?
 
My plan is to use following crontab script (call it capture.sh) so that the
filer's commands are captured into output.txt :
00,15,30,45 /adm/script/capture.sh >> /var/tmp/output.txt 2>> /var/tmp/err.txt

# ssh 10.51.1.2  -l root          (don't find any "-p password" for ssh)
The authenticity of host '10.51.1.2 (10.51.1.2)' can't be established.
...
Are you sure you want to continue connecting (yes/no)? yes
root@10.51.1.2's password:

FILER1> Fri Jul  4 13:27:35 SGT [SLAFILE1: openssh.invalid.channel.req:warning]: SSH client (SSH-2.0-OpenSSH_4.3) from 10.51.1.45 sent unsupported channel request (10, env).

FILER1>
FILER1> fcp show adapter -v

...........

FILER1>lun config_check
No Problems Found
FILER1> fcp status
FCP service is running.
SLAFILE1> logout telnet
Connection to 10.51.1.2 closed.

If expect/tcl script is expected, appreciate a more detailed codes
as I'm not familiar with expect/tcl scripting.

Thanks
Start Free Trial
 
 
[+][-]07.04.2008 at 02:33AM PDT, ID: 21931951

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.05.2008 at 05:38PM PDT, ID: 21938895

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.06.2008 at 05:56PM PDT, ID: 21942194

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 07:27PM PDT, ID: 21942474

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.08.2008 at 02:24AM PDT, ID: 21952132

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:27PM PDT, ID: 21959296

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.10.2008 at 02:31AM PDT, ID: 21971648

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 02:53AM PDT, ID: 21971730

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Sun Solaris, Linux, SSH / Telnet Software
Tags: Sun, Solaris, ssh script
Sign Up Now!
Solution Provided By: APNFSSC
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628