KAMIFTP(1) General Commands Manual KAMIFTP(1)

kamiftp9p client

kamiftp [-c] [-C cert] [-K key] [user@]host[:port] [path]

kamiftp is a 9p(7) client.

The options are as follows:

Use TLS for the connection. If used, -C is mandatory.
certificate
Specify the path to the client certificate to be use during the TLS handsahke. Implies -c.
key
Specify the path to the client certificate key to be used during the TLS handshake. If not given, the file passed to -C will be used. Implies -c.

The following commands are recognized by kamiftp:

[on | off]
Request terminal to sound a bell after each command. Without arguments toggle the current state.
Terminate the session. Synomym of quit.
remote-path
Change the working directory on the remote machine to remote-path.
remote-path
Download remote-path and open it with the preferred editor (VISUAL or EDITOR with ed(1) as fallback) then attempt to re-upload it.
remote-file [local-file]
Fetch remote-file and save it locally as local-file. If local-file is not given, use the file name from remote-file.
[on | off]
Print the packets sent from/to the server. Without arguments, toggle the current state.
[local-directory]
Change the local current working directory to local-directory or the HOME if not given.
Print the local working directory.
List the file in the remote current working directory.
remote-file
Download remote-file and open it with the PAGER (less(1) by default).
remote-file cmd [args...]
Fetch remote-file and pass it as standard input for cmd (with optional args).
local-file [remote-file]
Upload local-file to remote-file. If remote-file is not given, use the file name from local-file.
Terminate the session. Synomym of bye.
remote-file new-remote-name
Renames remote-file to new-remote-name on the remote server.
[on | off]
Print verbose information. Without arguments toggle the current state.

The following environment variables are inspected:

The user login directory.
The pager to use, less(1) by default.
EDITOR
The program used to edit files. VISUAL is inspected first, EDITOR as a fallback. If both are undefined, ed(1) is given some love.

9p(7), kamid(8)

The kamiftp utility was written by Omar Polo <op@omarpolo.com>.

August 28, 2022 OpenBSD 7.2