Linux

Administrator
发布于 2024-03-22 / 85 阅读
0
0

Linux

Linux

omv ssh => Permission denied, please try again.

可能的原因是 用户没有权限

	id pi
	uid=1000(pi) gid=100(users) groups=100(users),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),104(input),106(render),108(netdev),1000(pi),999(spi),998(i2c),997(gpio),117(lpadmin)
	sudo usermod -aG ssh pi
	id pi
	uid=1000(pi) gid=100(users) groups=100(users),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),104(input),106(render),108(netdev),1000(pi),111(ssh),999(spi),998(i2c),997(gpio),117(lpadmin)


评论