[meta-freescale] Change SSH Server Port

Fabio Berton fabio.berton at ossystems.com.br
Tue Jul 4 05:04:13 PDT 2017


You can create an bbappend to openssh_7.4p1.bb and add your ssh config 
settings. In your openssh_%.bbappend file put:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

and then create a directory openssh with sshd_config file.

The result is these two files:

meta-your-layer/recipes-connectivity/openssh/openssh_%.bbappend
meta-your-layer/recipes-connectivity/openssh/openssh/sshd_config

You can change ssh_config file or add other any file using SRC_URI variable.

Fabio Berton

On 07/04/2017 08:30 AM, Mauricio Cirelli wrote:
> Dear community,
> 
> How can I change the default SSH Server port (22) in my image?
> Is it possible to customize it during build or only at runtime?
> 
> Thank you for your attention.
> 
> 
> 
> Mauricio Cirelli
> 
> 


More information about the meta-freescale mailing list