TELNET
– Telnet is a terminal emulation program that allows a user
to perform commands on a remote computer from a command
window.
telnet
[-a][-e escape char][-f log file][-l user][-t term][host
[port]]
-
-a –
Attempt automatic logon. Same as -l option except uses the
currently logged on user’s name. -
-e – Escape
character to enter telnet client prompt. -
-f – File
name for client side logging. -
-l –
Specifies the user name to log in with on the remote
system. Requires that the remote system support the TELNET
ENVIRON option. -
-t –
Specifies terminal type. Supported term types are vt100,
vt52, ansi and vtnt only. -
host –
Specifies the hostname or IP address of the remote
computer to connect to. -
port –
Specifies a port number or service name.
RCP
– RCP copies files to and from computers running the RCP
service. RCP uses the Transmission Control Protocol (TCP) to
utilize the connected and reliable delivery of data between
the client and the host. RCP can be scripted in a batch file
and does not require a password. The remote host must be
running the RSHD service, and the users username must be
configured in the remote hosts .rhosts file. RCP is one of
the r-commands available on all UNIX systems.
[NOTES FROM THE FIELD] –
Microsofts implementation of TCP/IP includes the RCP
client software but not rshd services.
RCP [-a | -b] [-h] [-r] [host][.user:]source [host][.user:]
pathdestination
-
-a –
Specifies ASCII transfer mode. This mode converts the EOL
character to a carriage return for UNIX and a carriage
return/line feed for personal computers. This is the
default transfer mode. -
-b –
Specifies binary image transfer mode. -
-h –
Transfers hidden files. -
-r – Copies
the contents of all subdirectories; destination must be a
directory. -
host –
Specifies the local or remote host. If host is specified
as an IP address OR if host name contains dots, you must
specify the user. -
.user: –
Specifies a user name to use, rather than the current user
name. -
source –
Specifes the files to copy. -
pathdestination – Specifies the path relative to the logon
directory on the remote host. Use the escape characters (, “, or ‘) in remote paths to use wildcard characters on
the remote host.