Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:network:sshconfig [GiriWiki]

ユーザ用ツール

サイト用ツール


ja:network:sshconfig

以前のリビジョンの文書です



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 79

Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line 101

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== sshの設定(~/.ssh/config) ====== ---- ssh関連の設定を書いておくところ。\\ うまく使えば * 短い名前でssh loginできる * パスワード入力なし(鍵認証)でloginできる (ほか項目で詳しく) * 多段ssh接続 (踏み台) * ポートフォワード など色々と実現できる。 ✳︎~/.ssh/configのpermissionは600に設定しておく ==== 例 ==== <code> ### ~/.ssh/config ### ここからHOST:hoge についての設定 HOST hoge # $ ssh hoge とした時の設定を以下に HostName hostname # IP or ホスト名、すなわちsshでlogin時の@の後ろの部分 User namae # sshでloginするuser名。@の前の部分 IdentityFile ~/.ssh/hoge_rsa # 秘密鍵のファイルを指定 # 接続元PC(localhost)のport10001 をIP 123.45.67.1のマシンのport80(ブラウザ)に繋ぐ LocalForward 10001 123.45.67.1:80 # 接続元PC(localhost)のport10002 をIP 123.45.67.2のマシン(プリンタ)のport515に繋ぐ LocalForward 10002 123.45.67.2:515 ### ここまでHOST:hoge についての設定 ### ここからHOST:hoge2 についての設定 HOST hoge2 … </code>

ja/network/sshconfig.1433970538.txt.gz · 最終更新: 2015/06/10 21:08 by kota