kw-remote

SYNOPSIS

kw remote [-v | –verbose ]
kw remote add <name> <user@remote:port>
kw remote remove <name>
kw remote rename <old-name> <new-name>

DESCRIPTION

Manage the set of test machines (“remotes”) you want that kw to have easy access. This feature directly interacts with kw configuration for remote available at .kw/remote.config.

OPTIONS

add <name> <remote-address>:

Adds a remote named <name> for the test machine at <remote-address>. Notice that <remote_address> must follow this pattern user@remote:port where remote can be an IP or a name server.

remove <name>:

Remove the remote named <name>.

rename <old-name> <new-name>:

Rename the remote named <old> to <new>. If you try a name already in use, kw will fail with a message.

-v, –verbose:

Be a little more verbose and show remote url after name.

EXAMPLES

In case you want kw to track a new test machine, you can use:

cd <kernel-path>
kw remote add origin root@my-test-machine

If you do not use port 22, you can use:

kw remote add my-x86-test-system root@my-test-machine:5555

If you want to remove some remote:

kw remote remove origin

If you want to rename:

kw remote rename origina arm-device

You can also list all your available remotes via:

kw remote -v