NAME
sdtrlogin - rlogin and telnet client
AVAILABILITY
SUNWdtdst
SYNOPSIS
sdtrlogin -h
sdtrlogin url-string
DESCRIPTION
Start a rlogin or telnet session. sdtrlogin parses the
url-string and invokes either rlogin or telnet with the
username, hostname and port number. The password is
ignored.
sdtrlogin is useful for scripts which want to use telnet or
rlogin with an url-string.
OPTIONS
-h Display sdtrlogin usage line
OPERANDS
url-string
sdtrlogin supports both telnet and rlogin formed url-
strings. The format of these strings are as follows
rlogin://[ user [: password ]@][ host ][: port ]
telnet://[ user [: password ]@][ host ][: port ]
user The user id of the user to pass to rlogin or telnet.
If not specified the rlogin/telnet will use the current
user id.
password
The password required for the user id. This is ignored
by sdtrlogin, and rlogin/telnet will prompt the user to
enter password.
host The name of the host machine to connect to. If not
specified, sdtrlogin defaults to localhost.
port The port of host machine to connect to. For telnet, if
not specified, sdtrlogin defaults to port 23. rlogin
does not support a port parameter. In this case
sdtrlogin ignores this value.
EXAMPLES
To rlogin to a machine use the following url-string:
example% sdtrlogin rlogin://example
To rlogin to a machine as a another user, use the following
url-string:
example% sdtrlogin rlogin://johndoe@example
To telnet to a machine use the following url-string:
example sdtrlogin telnet://example
To telnet to a machine as a another user, use the following
url-string:
example% sdtrlogin telnet://johndoe@example
To telnet to a machine, to connect to a different port, use
the following url-string:
example% sdtrlogin telnet://example:25
EXIT STATUS
0 Successful completion.
1 Invalid command line options.
2 url-string was not either telnet or rlogin url-string.
SEE ALSO
dtaction(1)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |