Bug 11079

Summary: devtool deploy.py should allow for changing the port for ssh/scp
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tim Orling <tim.orling>
Component: devtools / tool chainAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Tim Orling 2017-02-19 05:17:39 UTC
Conveniently, runqemu binds the host port 2222 to the target port 22. When running headless qemu it is desirable to be able to use the host port. We should allow for passing a different port to 'devtool deploy-target' and 'devtool undeploy-target', rather than rely on the defaults for ssh/scp.

Proposal:
    'devtool deploy-target --port 2222 recipename root@localhost'
or
    'devtool undeploy-target -P 2222 recipename root@localhost'

Already implemented and will send patch to ML for comment.
Comment 1 Tim Orling 2017-03-07 23:48:41 UTC
Merged to master.