初级会员
- 积分
- 78
- 金钱
- 78
- 注册时间
- 2024-3-8
- 在线时间
- 17 小时
|
1金钱
本帖最后由 LoveCamileZZZ 于 2024-6-4 11:35 编辑
SSH登录开发板没问题,但是SCP传输文件报错Couldn't open /dev/null: Permission denied
SSH打印信息:root@zzz-virtual-machine:~/linux/IMX6ULL/Application_C_Code/15_led# ssh sshd@192.168.2.101
sshd@192.168.2.101's password:
sshd@192:~#pwd
/home/sshd
sshd@192:~#exit
Connection to 192.168.2.101 closed.
SCP打印信息:
root@zzz-virtual-machine:~/linux/IMX6ULL/Application_C_Code/15_led# scp testled sshd@192.168.2.101:/home
sshd@192.168.2.101's password:
Couldn't open /dev/null: Permission denied
lost connection
root@zzz-virtual-machine:~/linux/IMX6ULL/Application_C_Code/15_led# scp testled root@192.168.2.101:/home
root@192.168.2.101's password:
Permission denied, please try again.
root@192.168.2.101's password:
Permission denied, please try again.
root@192.168.2.101's password:
Permission denied (publickey,password,keyboard-interactive).
lost connection
Linux系统/dev/null 信息:
root@zzz-virtual-machine:~/linux/IMX6ULL/Application_C_Code/15_led# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 5月 30 14:05 /dev/null
ARM /dev/null 信息:
root@192:/home#ls -l /dev/null
crw-rw---- 1 root 0 1, 3 Jan 1 00:00 /dev/null
|
|