
stat | 439
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-h keyfile
Read the host’s cryptographic key from the specified keyfile
instead of from the default file /etc/ssh/ssh_host_key for SSH
protocol 1, and the default files /etc/ssh/ssh_host_rsa_key and
/etc/ssh/ssh_host_dsa_key for SSH protocol 2. The -h option
may be given more than once to specify multiple keyfiles.
-i Use when running sshd from inetd.
-k seconds
Set how often the Version 1 server key should be regenerated.
Default value is 3600 seconds. If set to 0 seconds, the key will
never be regenerated.
-o setting
Pass a configuration file setting as an option.
-p port
Listen for connections on port. The default is 22. More than
one -p option may be specified. This option overrides ports
specified in a configuration file.
-q Send no messages to the system log.
-t Test configuration files and keys, then exit.
-u namelength
Specify the length of the remote hostname field in the UTMP
structure as specifed in utmp.h.Anamelength of 0 will cause
sshd to write dotted decimal values instead of hostnames to
the utmp file and prevent DNS requests unless required by the
authentication mechanism.
stat
stat [options] files
Print out the contents of an inode as they appear to the stat system
call in a human-readable format. The error messages “Can’t stat
file” and “Can’t lstat file” ...