scp远程拷贝文件
2014-10-04 08:44
183 查看
scp远程拷贝文件时提示错误:
Warning: Permanently added '10.0.0.182' (RSA) to the list of known hosts.
Permission denied (publickey).
解决:
登录10.0.0.182,将/etc/ssh/sshd_config文件中的PasswordAuthentication no 改为PasswordAuthentication yes
重启sshd服务:/etc/init.d/sshd restart
问题解决。
原因:scp是基于ssh的拷贝服务,ssh在没有密钥登录的情况下,禁用了密码登录,故出现如上错误
Warning: Permanently added '10.0.0.182' (RSA) to the list of known hosts.
Permission denied (publickey).
解决:
登录10.0.0.182,将/etc/ssh/sshd_config文件中的PasswordAuthentication no 改为PasswordAuthentication yes
重启sshd服务:/etc/init.d/sshd restart
问题解决。
原因:scp是基于ssh的拷贝服务,ssh在没有密钥登录的情况下,禁用了密码登录,故出现如上错误
相关文章推荐
- linux中远程拷贝文件命令(scp)详解
- linux下scp命令(远程文件拷贝)详解
- 在Linux下远程使用scp拷贝文件
- SCP命令拷贝远程文件到本地
- 利用scp自动输入密码进行文件远程拷贝或备份
- linux远程拷贝或下载文件使用-ftp命令和scp命令详解
- linux scp远程拷贝文件及文件夹
- linux 下使用SSH 连接远程主机 SCP 拷贝远程文件
- Linux文件远程拷贝命令scp的使用
- linux中远程拷贝文件命令(scp)详解
- 使用scp获取远程linux服务器上的文件 linux远程拷贝文件
- linux下scp远程拷贝包含空格的目录或者文件的解决方法
- Linux 命令 - scp: 远程文件拷贝
- linux远程拷贝下载文件 - ftp命令和scp命令
- 在Linux下远程使用scp拷贝文件
- linux scp远程拷贝文件及文件夹
- linux scp远程拷贝文件及文件夹
- 使用scp命令拷贝远程windows系统下的文件到liunx下
- linux远程拷贝下载文件 - ftp命令和scp命令
- 【Unix/Linux】【命令】【网络操作工具】远程拷贝文件 —— scp命令