Chrome OSからSSHする
#ChromeOS #セキュリティ #SSH
Linuxを使わなくても、Chromeアプリでいける。
Secure Shell App - Chrome Web Store
https://chrome.google.com/webstore/search/secure%20shell
Extensionもある。
Secure Shell Extension - Chrome Web Store
https://chrome.google.com/webstore/detail/secure-shell-extension/iodihamcpbpeioajjeobimgagajmlibd?utm_source=chrome-app-launcher-search
SSH Agentを使う場合
SSH Agent for Google Chrome™ - Chrome Web Store
https://chrome.google.com/webstore/detail/ssh-agent-for-google-chro/eechpbnaifiimgajnomdipfaamobdfha?utm_source=chrome-app-launcher-search
YubiKeyを使う場合
Secure Shellに秘密鍵をインポートすると、Chromeの同期対象となってしまうので、セキュアじゃない。
YubiKeyなどを使うほうがいいと思う。
Smart Card Connector - Chrome Web Store
https://chrome.google.com/webstore/detail/smart-card-connector/khpfeaanjngmcnplbdlpegiifgpfgdco/related
をインストールする。
Secure ShellのSSH relay server optionsに--ssh-agent=gscを指定。
※ 9aや9dに鍵を入れただけではダメで、OpenPGP cardとして使う必要がある。
→ YubiKeyをOpenPGP cardとして使う
参考:
hterm and Secure Shell - Using smart cards and hardware tokens with Secure Shell
https://chromium.googlesource.com/apps/libapps/+/master/nassh/doc/hardware-keys.md