Win10 Native openssh client

Win10 Native openssh client

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
                                                                                                                        Try the new cross-platform PowerShell https://aka.ms/pscore6                                                                                                                                                                                    Loading personal and system profiles took 1999ms.                                                                       PS C:\windows\system32> add-windowscapability  -online -name openssh-client                                             

Path          :
Online        : True
RestartNeeded : False

PS C:\windows\system32> ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]
PS C:\windows\system32> ssh  -version
Bad escape character 'rsion'.
PS C:\windows\system32> ssh -version
Bad escape character 'rsion'.
PS C:\windows\system32> ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
PS C:\windows\system32>

PS C:\windows\system32> ssh   lake@myserver
The authenticity of host 'myserver(XXXXXX)' can't be established.
ECDSA key fingerprint is SHA256:Jn6yOMVHscBISqx+YfQ7qplqwnYRUCk9Q2qH63NKBcA.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'myserver,XXXXX' (ECDSA) to the list of known hosts.
Last login: Fri Sep 25 15:23:58 2020 from 10.73.197.146
Last login: Fri Sep 25 15:23:58 2020 from 10.73.197.146
[lake@myserver ~]$                                                                                                   

猜你喜欢

转载自blog.csdn.net/hushui/article/details/108823035
今日推荐