1 .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 .Dd $Mdocdate: December 14 2021 $
33 The options are as follows:
36 Use TLS for the connection.
40 .It Fl C Ar certificate
41 Specify the path to the client
43 to be use during the TLS handsahke.
47 Specify the path to the client certificate
49 to be used during the TLS handshake.
50 If not given, the file passed to
57 The following commands are recognized by
60 .It Ic bell Oo Cm on | off Oc
61 Request terminal to sound a bell after each command.
62 Without arguments toggle the current state.
64 Terminate the session.
67 .It Ic cd Ar remote-path
68 Change the working directory on the remote machine to
70 .It Ic edit Ar remote-path
73 and open it with the preferred editor
82 then attempt to re-upload it.
83 .It Ic get Ar remote-file Op Ar local-file
86 and save it locally as
90 is not given, use the file name from
92 .It Ic hexdump Oo Cm on | off Oc
93 Print the packets sent from/to the server.
94 Without arguments, toggle the current state.
95 .It Ic lcd Op Ar local-directory
96 Change the local current working directory to
102 Print the local working directory.
104 List the file in the remote current working directory.
105 .It Ic page Ar remote-file
110 .Pq Xr less 1 by default .
111 .It Ic pipe Ar remote-file Ar cmd Op Ar args...
114 and pass it as standard input for
118 .It Ic put Ar local-file Op Ar remote-file
126 use the file name from
129 Terminate the session.
132 .It Ic rename Ar remote-file Ar new-remote-name
137 on the remote server.
138 .It Ic verbose Oo Cm on | off Oc
139 Print verbose information.
140 Without arguments toggle the current state.
143 The following environment variables are inspected:
146 The user login directory.
151 .It Ev VISUAL, Ev EDITOR
152 The program used to edit files.
157 If both are undefined,
167 utility was written by
168 .An Omar Polo Aq Mt op@omarpolo.com .