Skip to content

Cumulocity CLI 2.47.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jan 21:52
· 17 commits to v2 since this release
5405187

What's Changed

  • feat(remoteaccess): support easier ssh port-forwarding for users by @reubenmiller in #419

    Examples

    # Example 1: Setup ssh port forwarding, 127.0.0.1:1883 (remote) to 1883 (local)
    c8y remoteaccess connect ssh --device 12345 --user admin -L 1883:127.0.0.1:1883
    
    # Example 2: Setup ssh port forwarding, 127.0.0.1:1883 (remote) to 1883 (local)
    c8y remoteaccess connect ssh --device 12345 --user admin -L 1883
    
    # Example 3: Setup ssh port forwarding, 127.0.0.1:1883 (remote) to 1884 (local)
    c8y remoteaccess connect ssh --device 12345 --user admin -L 1884:1883
    
    # Example 4: Setup ssh port forwarding using custom ssh command call
    c8y remoteaccess connect run --device rpi5-abcdef01 --configuration passthrough -- ssh -p %p -L 1885:127.0.0.1:1883 -o ServerAliveInterval=120 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected]

Full Changelog: v2.46.0...v2.47.0