Skip to content

Instantly share code, notes, and snippets.

# .zshrcに以下を記述
function ks() {
local -a arts
arts=(
"ヽ(`Д´#)ノ ムキー!!"
"(#・∀・)ムカッ!!"
"(# ゚Д゚) ムッ!"
"(# ゚Д゚) ムッカー"
"(#゚Д゚) プンスコ!"
"(#゚Д゚)y-~~イライラ"
Host github
HostName github.com
Identityfile ~/.ssh/github_rsa
Port 22
User git
Generating public/private rsa key pair.
Enter file in which to save the key (/home/vagrant/.ssh/id_rsa): github_rsa <----- 今回はgithub用のSSH鍵を作成しているので、それとわかる名前を付けています。
Enter passphrase (empty for no passphrase): <----- 今回はパスワードはなしでOKのため、何も入力せずに「Enter」。
Enter same passphrase again: <----- 確認を求められますが、今回は設定していないので、何も入力せずに「Enter」。
Your identification has been saved in github_rsa.
Your public key has been saved in github_rsa.pub.
The key fingerprint is:
6f:09:a6:35:2d:34:e6:82:95:89:41:7d:a7:58:1b:92 vagrant@localhost.localdomain
The key's randomart image is:
+--[ RSA 2048]----+