There is a server I connect to for work using putty and winscp. It connects properly without any issue all the time when using putty/winscp.
I wish to connect to this server using windows 10 command line ssh. However when I connect using CMD, I get the following error.
C:\Users\u###>ssh -v u###@####.###.####.com OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4 debug1: Reading configuration data C:\\Users\\u###/.ssh/config debug1: Reading configuration data __PROGRAMDATA__\\ssh/ssh_config debug1: Connecting to ####.###.####.com [##IP_ADDRESS##] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file C:\\Users\\u###/.ssh/id_ed25519-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4 debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000 debug1: Authenticating to ####.###.####.com:22 as 'u###' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: ################# debug1: kex: host key algorithm: ############# debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ############################################# debug1: Host '####.###.####.com' is known and matches the ECDSA host key. debug1: Found key in C:\\Users\\u###/.ssh/known_hosts:2 debug1: rekey after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey after 134217728 blocks debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: ############### debug1: SSH2_MSG_SERVICE_ACCEPT received \S Kernel \r on an \m debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic debug1: Next authentication method: publickey debug1: Trying private key: C:\\Users\\u###/.ssh/id_rsa debug1: Trying private key: C:\\Users\\u###/.ssh/id_dsa debug1: Trying private key: C:\\Users\\u###/.ssh/id_ecdsa debug1: Trying private key: C:\\Users\\u###/.ssh/id_ed25519 debug1: No more authentication methods to try. u###@####.###.####.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
What am I missing ?
The main goal why I am doing this is so that I can connect the server to VsCode and use its python debugger.
No comments:
Post a Comment