我现在正在工作,我的同事为我准备了一个 Debian 服务器并离开了。
现在我才发现我可以从 Windows (XP) 机器上使用 PuTTY ssh 进入它就好了(遗憾的是,这里没有 Linux 机器)但是不知何故,当我在 mac 上时,ssh [user@ip]不接受我的密码。
与 SFTP 相同:WinSCP 工作正常,命令行 SCP 或任何 SFTP 软件(如 CyberDuck)根本无法工作。(“错误的用户名或密码”)
我唯一的线索是 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 …Run Code Online (Sandbox Code Playgroud)