Remote Scripting Using SSH 56

Configuring Multiple Systems for Scripting 57

Generating Host Keys

57

 

 

 

Creating Trusted Host Relationships

58

 

Adding Public Keys

58

 

 

 

Generating a Host Key Pair

59

 

 

Enabling SSH Access Using Trusted Hosts

59

Enabling SSH Access Using Public Keys

60

Guidelines for Writing Server Management Command Scripts 61

Command Output 61

 

 

 

Other Tips For Best Results

62

 

 

Console Redirection Over Serial on a

 

 

 

Linux-based Server

63

 

 

 

 

grub

64

 

 

 

 

 

 

LILO

65

 

 

 

 

 

 

getty

66

 

 

 

 

 

 

securetty 66

 

 

 

 

 

 

Enabling and Configuring BIOS Console Redirection 67

Network Share Volume (NSV) CD-ROM 68

 

 

Network Share Volume Structure

68

 

 

Serial Over LAN

70

 

 

 

 

 

Enabling or Disabling the SOL Feature on the Server 70

Launching an SOL Session

71

 

 

Terminating an SOL Session

71

 

 

A. Server Management Commands Summary

73

 

Using the ssh Protocol

74

 

 

 

 

Interactive Shell on the SP

74

 

 

 

Preface Text

74

 

 

 

 

 

vi Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 6
Image 6
Sun Microsystems V20Z, V40z manual Lilo, Server Management Commands Summary