比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。
Sv translation
languageja

フリーソフトの SSH クライアント PuTTY によるフロントサーバの利用方法を説明します。

目次

PuTTY をインストールする

PuTTY の公式ウェブサイトからダウンロードしてインストールします。

情報

学外からリモートログインする場合は、公開鍵認証によるSSH接続 – 京都工芸繊維大学 情報基盤センター (kit.ac.jp) をご覧ください。

フリーソフト Putty を使ったフロントサーバの利用方法を説明します。

Putty をインストールする

公式ウェブサイトからダウンロードしてコンピュータにインストールします。

Download PuTTY - a free SSH and telnet client for Windows

フロントサーバにリモートログインする

情報

学外からリモートログインする場合は、公開鍵認証を利用する をご覧ください。

PuTTY Putty を起動すると以下のようなウィンドウが表示されます。

Host Name のテキストボックスに front.cis.kit.ac.jp と入力し、Open ボタンをクリックします。

情報

初回リモートログイン時には、次のようなウィンドウが表示されます。
Image Modified

ssh-~ から始まる行が SSHホスト鍵(フィンガープリント)のどれかを含んでいることを確認してください。

含んでいたら、Accept ボタンをクリックします。

ログイン名とパスワードを入力してログインします。

フロントサーバの利用を終了する

exit コマンド、もしくは logout コマンドで終了します。

アンカー
how-to-use-public-key-auth
how-to-use-public-key-auth
公開鍵認証を利用する

公開鍵認証とは、公開鍵・秘密鍵のペアを用いてユーザー認証を行う方式です。サーバに公開鍵を登録し、パスワードの代わりに秘密鍵を利用します。
クライアントとサーバとの間で鍵のやり取りは行わないので、ログイン名・パスワードを用いたユーザー認証よりも安全にリモートログインできます。

なお、学外からフロントサーバにリモートログインするには、必ず公開鍵認証を利用する必要があります。

公開鍵・秘密鍵のペアを作成する

アプリメニュー、もしくは検索ボックスで PuTTYgen を探して起動します。

Image Added

Parameters > Type of key to generateEdDSA に、Parameters > Curve to use for generating this keyEd25519 (255 bits) にし、Actions > Generate a public/private key pair > Generate をクリックします。

Image Added

Key に進捗状況を示すメーターが出現したら、メーターがいっぱいになるまでウィンドウ上でマウスカーソルを動かします。

Image Added

KeyPublic key for pasting into OpenSSH authorized_key file が出てきたら、Key passphrase に鍵盗難防止用のパスフレーズを入力します。Confirm passphrase にも同じものを入力します。
パスフレーズは、パスワードと同様、他人に推測されにくいものにしてください。

Image Added

Key > Save the generated key > Save private key をクリックして秘密鍵を保存します。

Image Added

Public key for pasting into OpenSSH authorized_key file の下にあるテキストボックスのテキスト(公開鍵)をメモ帳などにコピー&ペーストして保存します。

Image Added

公開鍵をフロントサーバに登録する

ご自身で登録するか SSH公開鍵登録申請 でご申請ください。

公開鍵認証でリモートログインする

PuTTY を起動し、Connection > SSH > Auth > Credentials を選びます。

Image Added

Public-key authentication > Private key file for authentication > Browse をクリックして、秘密鍵ファイルを選びます。

Image Added

Session を選びます。
Image Added

Specify the destination you want to connect to > Host Name (or IP address) に front.cis.kit.ac.jp を入力し、Open をクリックします。

Image Added

情報

初回リモートログイン時には、次のようなウィンドウが表示されます。
Image Added

ssh-~ から始まる行が SSHホスト鍵(フィンガープリント)のどれかを含んでいることを確認してください。

含んでいたら、Accept ボタンをクリックします。

login as: というプロンプトが出てきたら、CIS アカウントのログイン名を入力して、エンターキーを押します。

Image Added

Passphrase for key ~: というプロンプトが出てきたら、秘密鍵のパスフレーズを入力してエンターキーを押します。

Image Added



Sv translation
languageen


情報

If you want to remotely log in from outside the university, please refer to SSH Public Key authentication on the CIS official website.

Here are the instructions for using the front-end server with the free software Putty.

Step-by-Step Guide

  1. Download and install Putty from the official website on your computer. (Download PuTTY - a free SSH and telnet client for Windows)
  2. Launch Putty, and you will see a window like this:
  3. In the “Host Name” text box, enterfront.cis.kit.ac.jpand click the “Open” button.

  4. The first time you log in remotely, a window like this will appear:

    Click the “Accept” button.
  5. Enter your login name and password to log in.
ヒント

To log out, use theexitorlogoutcommand.