Sponsored Content
Full Discussion: HMC ssh_config file edit
Operating Systems AIX HMC ssh_config file edit Post 303012010 by MichaelFelt on Saturday 27th of January 2018 02:53:37 PM
Old 01-27-2018
Anyway, the official answer would be something like:
* open a PMR and request a special code so that you can su to root (from memory something called the 'pesh')
* with the root prompt - you can edit what ever you want.

I am sure part of the 'official' solution would be to discuss what level of HMC code you are running. Maybe this problem goes away with an HMC update!

As you never said (and noone asked) I'll just assume you have learned to update your HMC. If it is at version 8.6 or higher, and it is still using the low-grade encryption elements - open a PMR to IBM for a bug-fix. As it is clearly time for it to be gone!

(and because I am curious - what level of HMC - were - you at?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file name edit

ok I have a list of files for example: 130-4-32.HindIII.0.ids 130-4-32.HindIII.0.ppm 130-4-32.HindIII.0.ppm.gz 130-4-33.HindIII.0.bands 130-4-33.HindIII.0.ics 130-4-33.HindIII.0.ids 130-4-33.HindIII.0.ppm 130-4-33.HindIII.0.ppm.gz 130-4-34.HindIII.0.bands ... (1 Reply)
Discussion started by: lorcet222
1 Replies

2. UNIX for Dummies Questions & Answers

Edit the File

Hello Everyone I am new to this forum. I am having a requirement to edit the file(the file is having some sql code). And this file is in my colleagues login. This is readonly Now I would like to edit this file. In which way can I do this? (1 Reply)
Discussion started by: pradkumar
1 Replies

3. UNIX for Advanced & Expert Users

ssh_config

Hi, I have to create an sftp configuration file. the requirement is like this Encryption algorithm : ArcFour (Implementation of the 128bit RC4 algorithm) ‘arcfour128' Fallback: (3DES algorithm) ‘3des' How do I check the arcfour128 is implementation of RC4? Also I dont see 3des algorithm... (0 Replies)
Discussion started by: shihabvk
0 Replies

4. Shell Programming and Scripting

diff between ssh_config & sshd_config

Hi, Can anybody brief me the difference between ssh_config & sshd_config. I am looking for the functionality difference. any help appreciated Shihab (4 Replies)
Discussion started by: shihabvk
4 Replies

5. UNIX for Dummies Questions & Answers

edit a .fs file

I have a .fs file that I want to edit, (or just be able to see what is in it) preferably through a windows environment. Does anyone know how to do that? Thanks (4 Replies)
Discussion started by: kiterboy
4 Replies

6. Shell Programming and Scripting

Edit value in File

I have a file oratab with entry like this SCADAG:/esitst1/oracle/product/9.2.0.8:Y I am trying to discover a way to change the 9.2.0.8 part of this to something like 10.2.0.4 as part of an upgrade script. I have tried cat /etc/oratab >>/tmp/oratab... (1 Reply)
Discussion started by: sewood
1 Replies

7. Shell Programming and Scripting

Script to Edit the file content and create new file

I have a requirement, which is as follows *. Folder contains list of xmls. Script has to create new xml files by copying the existing one and renaming it by appending "_pre.xml" at the end. *. Each file has multiple <Name>fileName</Name> entry. The script has to find the first occurance of... (1 Reply)
Discussion started by: sudesh.ach
1 Replies

8. Shell Programming and Scripting

Edit a file

I have file like cp -p /var/adm/ /tmp1/tmp1.log cp -p /var/adm/ /tmp1/tmp2.log cp -p /var/adm/ /tmp1/tmp3.log cp -p /var/adm/ /tmp1/tmp4.log I need to re-write the file like: cp -p /var/adm/tmp1.log /tmp1/ cp -p /var/adm/tmp2.log /tmp1/ cp -p /var/adm/tmp3.log /tmp1/ cp -p... (3 Replies)
Discussion started by: h_banka
3 Replies

9. UNIX for Dummies Questions & Answers

Modify the ssh_config file in Cygwin

Hi all, I have installed Cygwin on my PC and am trying to modify the ssh_config file in the folder 'c:\cygwin\etc\defaults\etc'. However I noticed the owner of that file belongs to root. Unfortunately when I'm opening cygwin each time the default displayed path = 'username@PC', which means I... (1 Reply)
Discussion started by: isaacniu
1 Replies

10. UNIX for Advanced & Expert Users

Edit file

Hi All, I have file with 200K Records and each line with 400 character. I need to edit the some part of the file. For example, i need to edit character from 115 to 125, 135to 145 and 344 to 361 Can you please anyone help me to do this? Regards, (1 Reply)
Discussion started by: balasubramani04
1 Replies
FENCE_AGENT(8)						      System Manager's Manual						    FENCE_AGENT(8)

NAME
fence_lpar - Fence agent for IBM LPAR DESCRIPTION
fence_lpar accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_lpar can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts. PARAMETERS
-o, --action=<action> Fencing Action (Default Value: reboot) -a, --ip=<ip> IP Address or Hostname This parameter is always required. -l, --username=<name> Login Name This parameter is always required. -p, --password=<password> Login password or passphrase -S, --password-script=<script> Script to retrieve password -x, --ssh SSH connection (Default Value: 1) -k, --identity-file=<filename> Identity file for ssh -n <id> Name of the partition Partition name -s <id> Name of the managed system Managed system name -H, --hmc-version=<version> Force HMC version to use (3 or 4) (Default Value: 4) -c, --command-prompt=<prompt> Force command prompt (Default Value: [':~>', ']$', '$ ']) -4, --inet4-only Forces agent to use IPv4 addresses only -6, --inet6-only Forces agent to use IPv6 addresses only -u, --ipport=<port> TCP port to use for connection with device -v, --verbose Verbose mode -D, --debug-file=<debugfile> Write debug information to given file -V, --version Display version information and exit -h, --help Display help and exit -C, --separator=<char> Separator for CSV created by operation list (Default Value: ,) --power-timeout Test X seconds for status change after ON/OFF (Default Value: 20) --shell-timeout Wait X seconds for cmd prompt after issuing command (Default Value: 3) --login-timeout Wait X seconds for cmd prompt after login (Default Value: 15) --power-wait Wait X seconds after issuing ON/OFF (Default Value: 0) --delay Wait X seconds before fencing is started (Default Value: 0) --retry-on Count of attempts to retry power on (Default Value: 1) ACTIONS
on Power on machine. off Power off machine. reboot Reboot machine. status This returns the status of the plug/virtual machine. list List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise. monitor Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more). metadata The operational behavior of this is not known. STDIN PARAMETERS
action Fencing Action (Default Value: reboot) ipaddr IP Address or Hostname This parameter is always required. login Login Name This parameter is always required. passwd Login password or passphrase passwd_script Script to retrieve password secure SSH connection (Default Value: 1) identity_file Identity file for ssh partition Partition name managed Managed system name hmc_version Force HMC version to use (3 or 4) (Default Value: 4) cmd_prompt Force command prompt (Default Value: [':~>', ']$', '$ ']) inet4_only Forces agent to use IPv4 addresses only inet6_only Forces agent to use IPv6 addresses only ipport TCP port to use for connection with device verbose Verbose mode debug Write debug information to given file version Display version information and exit help Display help and exit separator Separator for CSV created by operation list (Default Value: ,) power_timeout Test X seconds for status change after ON/OFF (Default Value: 20) shell_timeout Wait X seconds for cmd prompt after issuing command (Default Value: 3) login_timeout Wait X seconds for cmd prompt after login (Default Value: 15) power_wait Wait X seconds after issuing ON/OFF (Default Value: 0) delay Wait X seconds before fencing is started (Default Value: 0) retry_on Count of attempts to retry power on (Default Value: 1) fence_lpar (Fence Agent) 2009-10-20 FENCE_AGENT(8)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy