脳みそスワップアウト

揮発性なもので。おもにPHPのこととか。

ssh

多段SSH

ssh

PC --(pubkey)--> 踏み台(bastion) --(password)--> リモート(remote1, remote2) # 踏み台 Host bastion Hostname bastion.exapmle.com User pen PreferredAuthentications publickey IdentityFile ~/.ssh/bastion.id_rsa IdentitiesOnly yes # 踏み台の先 H…

Windows + IntelliJ IDEA + Git(MSYS2)

Windows + IntelliJ IDEA + Git(MSYS2) Windows の IntelliJ IDEA から、MSYS2 の git と ssh を使って、IDEからgitの操作をするメモ。 PhpStorm でも同様のはず。 Windows7 Pro MinGW64 2.6.0 (git, ssh) Intellij IDEA 2017.2.5 (PhpStormでも同様のはず) …

Windows で MSYS2 の ssh-agent を使う

Windows で MSYS2 の ssh-agent を使う WindowsのGUIアプリ(IDEなど)と連携したくなったので調査。 Windows7 Pro MinGW64 2.6.0 (ssh, ssh-agent, keychain)