无法在本地设置ssh
Can't setup ssh on local
我试过设置 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...
它还指出
If you have ssh installed, the terminal returns version information.
这里有我遗漏的东西吗?我 运行 Ubuntu 14.04,使用 Macbook。
谢谢。
我认为:
ssh -v 是:
-v Verbose mode. Causes ssh to print debugging messages about
its
progress. This is helpful in debugging connection, authentica-
tion, and configuration problems. Multiple -v options increase
the verbosity. The maximum is 3.
和 ssh -V:
-V Display the version number and exit.
小v表示冗长;大V是版本
ssh -V
我试过设置 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...
它还指出
If you have ssh installed, the terminal returns version information.
这里有我遗漏的东西吗?我 运行 Ubuntu 14.04,使用 Macbook。
谢谢。
我认为:
ssh -v 是:
-v Verbose mode. Causes ssh to print debugging messages about its progress. This is helpful in debugging connection, authentica- tion, and configuration problems. Multiple -v options increase the verbosity. The maximum is 3.
和 ssh -V:
-V Display the version number and exit.
小v表示冗长;大V是版本
ssh -V