rlogin
スポンサーリンク
何するコマンド?
書き方
rlogin [オプション] [相手先ホスト]
オプション
| オプション | 説明 |
|---|---|
| -7 | 無理やり7ビットにするよ |
| -8 | 8ビットデータを入力しても良いよ |
| -a | うんちゃらかんちゃら force the remote machine to ask for a password by sending a null local username. This option has no effect unless the standard UCB rlogin is executed in place of the Kerberos rlogin (see above). |
| -c | 切断する前に確認メッセージを表示しますよ? require confirmation before disconnecting via ‘‘~.’’ |
| -d | 相手先との通信に使われるTCPソケットに対して、デバッグを有効にするよ turn on socket debugging (via setsockopt(2)) on the TCP sockets used for communication with the remote host. |
| -e【文字】 | 【文字】をエスケープ文字として使うよ |
| -f | 証明書を転送しますよ forward a copy of the local credentials to the remote system. |
| -k | うんちゃらかんちゃら request rlogin to obtain tickets for the remote host in realm realm instead of the remote host’s realm as determined by krb_realmofhost(3). |
| -l【ユーザ名】 | 【ユーザ名】でログインするよ |
| -n | うんちゃらかんちゃら prevent suspension of rlogin via ‘‘~^Z’’ or ‘‘~^Y’’. |
| -t【端末の種類】 | 端末の種類を【端末の種類】にするよ replace the terminal type passed to the remote host with termtype. |
| -x | うんちゃらかんちゃら turn on DES encryption for data passed via the rlogin session. This applies only to input and output streams, so the username is sent unencrypted. This significantly reduces response time and significantly increases CPU utilization. |
| -F | 転送OKな証明書を転送しますよ forward a forwardable copy of the local credentials to the remote system. |
| -L | うんちゃらかんちゃら allows the rlogin session to be run in litout mode. |
補足事項
「『telnet』コマンドと何が違うの?」と思うかもしれませんね。
telnetコマンドは相手のコンピュータに「接続」するコマンドです。
一方、rloginコマンドは相手のコンピュータに「ログイン」するコマンドとなります。
例えば、あなたがお友達の家に遊びに行くとしましょう。
telnetコマンドは、お友達の家に辿り着くコマンドです。
お友達の家の前に辿り着けば、一先ずお仕事は完了します。
もちろん、その後で呼び鈴を鳴らして「遊びに来たよ~中に入れて~」と言わないと意味がないですけどね。
どうせ追加でお仕事することにはなるのですが、一先ず辿りつければミッション・コンプリートです。
一方のrloginコマンドは、お友達の家に遊びに行くコマンドです。
お友達の家の前に辿り着いた後は、お家の中に入れてもらおうと頑張ります。
呼び鈴を鳴らして「遊びに来たよ~中に入れて~」までが1つのお仕事です。
最終的な結果は同じですけどね。
telnet:相手の家の前まで行く
rlogin:相手の家の前まで行って呼び鈴を鳴らす
の違いがあります。
