How I solved a problem about usage of pscp by requesting more information

来源:互联网 发布:js禁用button按钮 编辑:程序博客网 时间:2024/04/28 12:22

pscp -i key.ppk t.txt server_ip:/usr/readme

Server refused our key
Fatal: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)


pscp -v -i key.ppk t.txt server_ip:/usr/readme
Guessing user name: PC
Connecting to server_ip port 22
We claim version: SSH-2.0-PuTTY_Release_0.70
Server version: SSH-2.0-OpenSSH_6.6.1
We believe remote version has SSH-2 channel request bug
Using SSH protocol version 2
Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
Host key fingerprint is:
ssh-ed25519 256 37:61: ... :26:14
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Reading key file "key.ppk"
Using username "PC".
Offered public key
Server refused our key
Server refused our key

Using SSPI from SECUR32.DLL
Attempting GSSAPI authentication
GSSAPI authentication request refused
Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
Fatal: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)


pscp -i key.ppk t.txt root@server_ip:/usr/readme

t.txt                     | 0 kB |   0.0 kB/s | ETA: 00:00:00 | 100%


原创粉丝点击