SSHポートフォワード と VNC を使ってセキュアなリモートデスクトップを使ってみる
SSHポートフォワード と VNC を使ってセキュアなリモートデスクトップを使ってみる
前回の記事では、超シンプルなTera Termマクロを使用したSSH多段接続(踏み台サーバを経由した接続)をご紹介しました。 ここではちょっとステップアップして、公開鍵認証を使用したSSH多段接続について触れてみようと思います。 一番簡単なのは踏み台サーバに鍵を置いて、それを使用し作業対象サーバに接続する方法です。しかし中には踏み台サーバに作業対象サーバに接続するための公開鍵なんか置きたくないと言われる方もいらっしゃるのでは??? そこでそれらを解決し、便利に使えるTeraTermの機能が「SSHポート転送(ポートフォワード)」なんです。 簡単に言うと3つの工程で済んでしまうんです! 事前にTeraTermのSSHポート転送の設定を行いコンフィグ(TERATERM.INI)を保存しておく TeraTermを使用し、踏み台サーバへ接続 1で設定したローカルPCの接続ポートに接続(通常の公開鍵
前回の記事では、TeraTermのSSH転送(ポートフォワード)機能を利用した手動でのSSH公開鍵認証の設定・手順についてご紹介しました。 ⇒ TeraTerm SSH転送(ポートフォワード)機能を利用した多段接続 しかし接続の都度、ユーザ名等の情報を入力するのは面倒ですよね。(まあ、いつものパターンです!) そこで、ここでは前回手動で行った公開鍵認証での接続部分を、TeraTermのマクロ機能で実現したいと思います。 マクロの前提条件として以下の設定等が必要になります。 ポートフォワードの設定は事前に行っておき、コンフィグを保存しておく。 作業対象サーバのIPアドレス・接続先ポート「22」(SSHの待ち受けポート) テラタームの待ち受けポートは「10022」 この辺りは前回の記事を確認し、設定を行なってみてください。 ⇒ TeraTerm SSH転送(ポートフォワード)機能を利用した多段
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く