Apple Mac OS X Server (version 10.2.3 or later) Uživatelský manuál Strana 591

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 690
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 590
Tools for Advanced Administrators 591
The percent symbol (%) is called the prompt. It indicates that you can enter a command.
Press the Return key after you type a command. Depending on what you typed, you could
see a list of information followed by another prompt, or your command will execute and give
you some type of feedback and a prompt, or you will receive no feedback and another
prompt. No feedback usually means that the command was executed properly.
Understanding UNIX Command-Line Structure
UNIX commands share some basic conventions. First you enter the name of the tool, then
any information the tool needs to carry out your request. Most tools come with help or man
(short for “manual”) pages that describe how to use the tool. Help pages give an overview of
arguments (also known as options or parameters) that the tool understands. Man pages give
more detail and examples:
m To find help pages, type the name of the tool and then the argument “-help” (for example,
“dsimportexport -help”).
m To find man pages for a tool, type “man”, followed by the tool name. For example, type
“man ssh” for information about the secure shell command.
When you supply information in a command, enclose location or item names that include
spaces in quotation marks (“like this”).
Secure Shell (SSH) Command
Secure Shell (SSH) lets you send secure, encrypted commands over a network. With SSH
turned on, you can use the Terminal application to open an SSH session and use command-
line tools to securely configure a remote server. You can also connect a terminal to a headless
server through the serial port and log in using SSH.
For complete information about SSH, type “man ssh” in Terminal.
Enabling and Disabling SSH Access
Access to Mac OS X computers using SSH is enabled by default.
You can disable SSH access to a Mac OS X computer locally or remotely:
m When logged in locally to a Mac OS X computer, make sure that “Remote login” in the
Sharing pane is not selected.
m To disable SSH access to a remote server, while in an SSH session with the remote
computer, type “systemsetup -setremotelogin off ”.
You can reenable SSH access only locally.
LL0395.Book Page 591 Wednesday, November 20, 2002 11:44 AM
Zobrazit stránku 590
1 2 ... 586 587 588 589 590 591 592 593 594 595 596 ... 689 690

Komentáře k této Příručce

Žádné komentáře