
ssh | 431
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--help
Print a help message and then exit.
--verbose
Print a message for each output file.
--version
Print version information and then exit.
Examples
Break bigfile into 1000-line segments:
split bigfile
Concatenate four files, then split them into 10-line files named
new.aa, new.ab, and so on. Note that without the -, new. would be
treated as a nonexistent input file:
cat list[1-4] | split -10 - new.
ssh
ssh [options] hostname [command]
Securely log a user into a remote system and run commands on
that system. The version of ssh described here is the OpenSSH
client. ssh can use either Version 1 (SSH1) or Version 2 (SSH2) of
the SSH protocol. SSH2 is preferable, as it provides stronger
encryption methods and greater connection integrity. The host-
name can be specified either as hostname or as user@hostname.Ifa
command is specified, the user is authenticated, the command is
executed, and the connection is closed. Otherwise, a terminal
session is opened on the remote system. See “Escape characters,”
later in this section, for functions that can be supported through an
escape character. The default escape character is a tilde (~). The
exit status returned from ssh is the exit status from the remote
system, or 255 if there was an error.
Commonly, authentication is handled with ...