Can not connect to sftp on port 22

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can not connect to sftp on port 22

768件の閲覧回数
rajspatel1297
Contributor I

Hi,

I'm using yocto gatesgarth. I'm not able to connect via sftp. 

I have already installed sftp-server. 

CORE_IMAGE_EXTRA_INSTALL += " gnupg cmake libcap libcap-dev binutils networkmanager networkmanager-nmcli sshfs-fuse curl openssh-sftp openssh-sftp-server "

Uncommented port 22 from /etc/ssh/sshd_config

Port 22
AddressFamily any
ListenAddress 0.0.0.0

Is there any additional requirement for that?

 

ラベル(2)
0 件の賞賛
2 返答(返信)

744件の閲覧回数
nxf63675
NXP TechSupport
NXP TechSupport

Hi @rajspatel1297,

 

Try adding the next to your build:

CORE_IMAGE_EXTRA_INSTALL += "openssh"
PACKAGE_EXCLUDE += " packagegroup-core-ssh-dropbear"
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-core-ssh-openssh"

 

Regards,

Israel.

0 件の賞賛

755件の閲覧回数
kunyichen
Contributor IV

BSP default use dropbear not openssh, maybe to try add the below line in your local.conf

IMAGE_FEATURES_append = " ssh-server-openssh"

0 件の賞賛