我现在在工作,我的同事为我准备了一个Debian服务器并离开了.
现在我发现我可以使用Windows(XP)盒子中的PuTTY来解决它(很遗憾没有Linux机器)但不知怎的,当我在Mac上时,ssh [user @ ip]不接受我的密码.
与SFTP相同:WinSCP工作得很好,命令行SCP或任何像CyberDuck这样的SFTP软件根本不起作用. (“错误的用户名或密码”)
我唯一的线索是OSX上的FileZilla能够在我设置它时使用不存在的编码进行连接.它抱怨编码无效,然后连接就好了.将编码设置为UTF-8或自动检测只会再次出现身份验证错误.
ServerFault,您是否知道如何让Mac连接到机器?非常感激.
编辑:这是ssh -v的输出:
Angua:~ winsmith$ssh -v web96_rootmaster@IPADDRESS OpenSSH_5.2p1,OpenSSL 0.9.8l 5 Nov 2009 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to IPADDRESS [IPADDRESS] port 22. debug1: Connection established. debug1: identity file /Users/winsmith/.ssh/identity type -1 debug1: identity file /Users/winsmith/.ssh/id_rsa type -1 debug1: identity file /Users/winsmith/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0,remote software version OpenSSH_5.1p1 Debian-5 debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.2 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'IPADDRESS' is known and matches the RSA host key. debug1: Found key in /Users/winsmith/.ssh/known_hosts:22 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /Users/winsmith/.ssh/identity debug1: Trying private key: /Users/winsmith/.ssh/id_rsa debug1: read PEM private key done: type RSA debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Offering public key: /Users/winsmith/.ssh/id_dsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: keyboard-interactive Password: debug1: Authentications that can continue: publickey,keyboard-interactive Password:
说实话,我找不到任何线索.还有其他人吗?
如果你改变编码,你可以从mac连接?您的密码是否包含任何有趣的字符,如带有重音的字符?
原文链接:https://www.f2er.com/windows/366546.html如果你在Mac上的文本编辑器中输入密码,它是否会像你期望的那样显示?