Bug 11079 - devtool deploy.py should allow for changing the port for ssh/scp
Summary: devtool deploy.py should allow for changing the port for ssh/scp
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.3 M4
Assignee: Tim Orling
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-02-19 05:17 UTC by Tim Orling
Modified: 2017-03-07 23:48 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.