...
- When typing text, press <ESC> once finished. In case you’re blocked, press also <ESC> before executing commands described below
- both editors use case sensitive commands
Request | Command |
To quit without saving | Press ‘:’ then enter ‘q!’ |
To quit with saving | Press ‘:’ then enter ‘x’ or ‘wq’ |
Go to top of file | Press ‘:’ then enter ‘0’ |
Go to last line | Press ‘G’ |
Search pattern | Press ‘/’ then enter your search text. Press then ‘n’ for next (forward) or ‘N’ for backward |
Remove current character | Press ‘x’ |
Insert text | Press ‘i’ (press ESC once text completed) |
Insert line | Press ‘o’ for a line below cursor, ‘O’ for a line above cursor (press ESC once text completed) |
Delete a line | Press ‘dd’ |
‘gedit’ graphical editor
‘gedit’ is a graphical text editor, users familiar with Windows notepad should not encounter difficulties to use it.
Request | Command |
To quit | close the window by clicking on the cross top right corner |
Save file | Press <CTRL-S> |
‘nano’ text editor
‘nano’ is a basic text editor, very simple to use and displaying available commands at the bottom of the screen. For example, to leave ‘nano’ , use ^X (press CTRL + X)
...
Info | ||
---|---|---|
| ||
|
Warning |
---|
This part of the documentation is not correct and under review. We apologize for the inconvenience |
- Generate the key
|
- Copy the linuxhost.pub file, or use copy/paste, in the /.ssh2 folder on the Tru64 host
- Define the authorization file:
|
- Initialize the first ssh connection (answer '
yes
' to confirm)
|
then retry the same command to verify the trust is working.
...
Info | ||
---|---|---|
| ||
|
Warning |
---|
This part of the documentation is not correct and under review. We apologize for the inconvenience |
- Enable SSH on the VMS server:
|
Select then:
Option 3 - Server components then enable and start service SSH, option 19
- then
Option 2 - Enable & Start service on this node
|
- If VMS has to connect to Linux, configure the SSH CLIENT:
|
Select then:
Option 2 - Enable & Start service on this node
Exit with E twice
...
- Copy these files from the default SSH user for the SYSTEM one:
|
Uncomment: BatchMode yes
...
- Generate the key and convert it to be readable by VMS
|
- Copy the file
/root/.ssh/linux.pub
, or use copy/paste, to the VMS system in theSYS$SYSROOT:[SYSMGR.SSH2
] directory
...
- Copy the hostkey.pub file from the VMS system to the Linux one:
|
Enter YES then the VMS system password
...
- Import the VMS public key and add it to the authorized keys:
|
- Define the VMS identification file:
|
Do not forget the dot at the end of the identification file name
...
- On the VMS system add the Linux key to the authorized keys:
|
Do not forget the dot at the end of the authorization file name
...
Charon server name "charon", vms system name "pluto":
charon# ssh system@pluto "show system" OpenVMS V7.3-2 on node PLUTO 27-SEP-2013 11:50:14.37 Uptime 0 19:20:07 Pid Process Name State Pri I/O CPU Page flts Pages 00000201 SWAPPER HIB 16 0 0 00:00:02.55 0 0 00000204 LANACP HIB 14 70 0 00:00:00.05 109 135 ... |
Div | ||
---|---|---|
| ||
|
Shutdown guests with Expect tool
...
# path/script <port> <user> <password> <prompt> <opsys>
Parameters:
Parameter | Description |
---|---|
<port> | telnet port number (example: 10003) |
<user> | username for login (must be able to perform shutdown) |
<password> | password |
<prompt> | shell prompt (including end space) or last characters of the prompt |
<opsys> | VMS or UNIX |
Example:
Examples are given in the /opt/charon/utils/charon_gstart.stop.example
file
...