在我的终端中找不到.ssh目录?
我事先为这个愚蠢的问题道歉,但我试图在Macbook上为GitHub设置SSH密钥。我打开终端并转到根目录(我的用户名),然后键入“ cd〜/ .ssh”,并显示“无此文件或目录”。但是,当我输入“ ssh -v”时,它将列出: OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] …