Slide 3
Slide 3 text
今まで:最強のSSH踏み台設定
.ssh/config:
# https://qiita.com/kawaz/items/a0151d3aa2b6f9c4b3b8
Host */*
ProxyCommand ssh -W "$(basename "%h")":%p "$(dirname "%h")"
#ホスト鍵無条件に受け入れて、ファイルを更新
StrictHostKeyChecking no
Host *+*
ProxyCommand ssh -W "$(sed -E 's/.*¥+//'<<<"%h")":%p "$(sed -E
's/¥+[^¥+]*//'<<<"%h")"
StrictHostKeyChecking no
# ssh hoge.com/192.168.x.x #会社gateway+自席サーバ
# ssh hoge.com+192.168.x.x #会社gateway/自席サーバ