n******7 发帖数: 12463 | 1 基本就是试了一堆方法,最后只能password
然后chdir /home/nowhere7/失败
ssh -vvvv [email protected]/* */
OpenSSH_6.7p1 Debian-5, OpenSSL 1.0.1t 3 May 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to ftp.mitbbs.com [8.8.8.8] port 22.
debug1: Connection established.
debug1: identity file /home/nowhere7/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity f... 阅读全帖 |
|
c********a 发帖数: 6466 | 2
cindy@cindy-Latitude-E6420:~$ ssh -vvv c********[email protected]
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to mitbbs.com [74.53.4.74] port 22.
debug1: Connection established.
debug1: identity file /home/cindy/.ssh/id_rsa type -1
debug1: identity file /home/cindy/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/hom... 阅读全帖 |
|
p******g 发帖数: 347 | 3 ================================================================debug3:
authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/nowhere7/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-
with-mic,password
debug1: Trying private key: /home/nowhere7/.ssh/id_dsa
debug3: no such identity: /home/nowhere7/.ssh/id_dsa: No such file ... 阅读全帖 |
|
S*A 发帖数: 7142 | 4 改这个:
LogLevel DEBUG3
然后重启 sshd,sftp 登录,
在 system log file 里面应该有很多 sshd 的 entry.
那里应该有很多提示 sshd 为什么自动退出了。
to |
|
p******g 发帖数: 347 | 5 this line: debug3: no such identity: /home/nowhere7/.ssh/id_dsa: No such
file or directory
it tells me ssh is looking for the private key in ur local machine and it
didn't find it. the private key is in ur LOCAL pc, not in the ftp site, and
your local ssh complains it is missing.
check if the file exist, if the key file has the right mode, and .ssh should
have the right mode, too. |
|