ラボの内容にssh
のことについて軽く触れていたのでちょっとだけ調べてみた。
目次
-
ssh
とは -
ssh
コマンド
ssh
とは
ザックリ言ってssh
を始めとしたリモートログインを使って遠隔でサーバーコンピューターにアクセスすることが可能になる。例えば遠隔でウェブサイトを編集したいときなどに便利。簡単な概要だけを知りたい場合はネットワークを利用した遠隔作業が役に立つ。
ちなみにwikipediaによる定義は
Secure Shell(セキュアシェル、SSH)は、暗号や認証の技術を利用して、安全にリモートコンピュータと通信するためのプロトコル。パスワードなどの認証部分を含むすべてのネットワーク上の通信が暗号化される。
もともとはTelnet、rshやrloginの代用的存在と言える。主にセキュリティ上の理由から現在はssh
が主流になっているらしい。ネットワーク上に平文でパスワードを送信してしまうので覗き見されやすいことやサーバー誘導の際に起こりうるセキュリティ問題だ。
ssh
コマンド
コマンドを一般的に表現するとssh username@domain_name(or host)
となる。ラボの説明を引用すると
If you're interested, here's an explanation of what the command does:
1. ssh is a secure shell (i.e. terminal) that connects to other computers over a network.
2. cs61a-? is the username on the remote computer.
3. cory.eecs.berkeley.edu is the domain name of the remote computer. For our purposes it can be any of the servers that belong to Berkeley's CS department.
もっと詳しく勉強するならインフラエンジニアじゃなくても押さえておきたいSSHの基礎知識というサイトを参考に。