【发布时间】:2015-12-08 01:20:36
【问题描述】:
我已尝试设置 ssh 密钥。具体按照 bitbucket 和 ubuntu.com 上的说明进行操作。
sudo apt-get install openssh-client
sudo apt-get install openssh-server
ssh-keygen -t rsa
但是,当我尝试检查它是否安装正常时。
ssh -v
我收到了回复。
ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-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]
[-Q cipher | cipher-auth | mac | kex | key]
[-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
但根据 Bitbucket,第一行应该是版本详细信息。
$ ssh -v
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile] etc etc...
它还说
如果你安装了 ssh,终端会返回版本信息。
我在这里缺少什么吗?我在 Macbook 上运行 Ubuntu 14.04。
谢谢。
【问题讨论】:
标签: linux ubuntu ssh bitbucket