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?
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.
BSP default use dropbear not openssh, maybe to try add the below line in your local.conf
IMAGE_FEATURES_append = " ssh-server-openssh"