DSM 6.02 SCP登陆问题 |
ESXI装了黑群晖6.02。用WINSCP登陆的SCP协议不能登陆。关键日志如下:
. 2017-02-07 18:09:42.599 -------------------------------------------------------------------------- . 2017-02-07 18:09:42.599 WinSCP 版本5.7.7 (构建版本 6257) (OS 10.0.14393 - Windows 10 Pro) . 2017-02-07 18:09:42.600 Time zone: Current: GMT+8 (中国标准时间), No DST . 2017-02-07 18:09:42.600 Login time: 2017年2月7日 18:09:42 . 2017-02-07 18:09:42.600 -------------------------------------------------------------------------- ! 2017-02-07 18:09:43.017 Using username "root". . 2017-02-07 18:09:43.032 Prompt (password, "SSH password", <no instructions>, "密码(&P):") . 2017-02-07 18:09:43.032 Using stored password. . 2017-02-07 18:09:43.082 Sent password . 2017-02-07 18:09:43.149 Access granted . 2017-02-07 18:09:43.149 Opening session as main channel . 2017-02-07 18:09:43.204 Opened main channel . 2017-02-07 18:09:43.247 Started a shell/command . 2017-02-07 18:09:43.284 -------------------------------------------------------------------------- . 2017-02-07 18:09:43.284 Using SCP protocol. . 2017-02-07 18:09:43.285 Doing startup conversation with host. ! 2017-02-07 18:09:43.285 Permission denied, please try again. . 2017-02-07 18:09:43.285 Server sent command exit status 1 . 2017-02-07 18:09:43.285 Disconnected: All channels closed * 2017-02-07 18:09:43.390 (EFatal) 请问大神如何解决。 系统做过以下修改: 使用synouser --setpw root 命令把ROOT密码和ADMIN密码修改成一样。 chmod 660 /etc/sudoers 修改过sudoers文件 # Allow members of group administrators to execute any command %administrators ALL=NOPASSWD:ALL |