version 1.4, 2001/02/07 13:49:42 |
version 1.5, 2001/02/07 18:10:39 |
|
|
compression. |
compression. |
.Nm |
.Nm |
connects and logs into the specified |
connects and logs into the specified |
.Ar hostname |
.Ar hostname , |
then enters an interactive command mode. |
then enters an interactive command mode. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl v |
|
Raise logging level. This option is also passed to ssh. |
.It Fl C |
.It Fl C |
Enables compression (via ssh's |
Enables compression (via ssh's |
.Fl C |
.Fl C |
flag) |
flag) |
.It Fl v |
|
Raise logging level. This option is also passed to ssh. |
|
.It Fl o Ar ssh_option |
.It Fl o Ar ssh_option |
Specify an option to be directly passed to |
Specify an option to be directly passed to |
.Xr ssh 1 . |
.Xr ssh 1 . |
|
|
.Ar path . |
.Ar path . |
.It Ic chgrp Ar grp Ar path |
.It Ic chgrp Ar grp Ar path |
Change group of file |
Change group of file |
.Ar path to |
.Ar path |
|
to |
.Ar grp . |
.Ar grp . |
.Ar grp |
.Ar grp |
must be numeric. |
must be a numeric GID. |
.It Ic chmod Ar mode Ar path |
.It Ic chmod Ar mode Ar path |
Change permissions of file |
Change permissions of file |
.Ar path to |
.Ar path |
|
to |
.Ar mode . |
.Ar mode . |
.It Ic chown Ar own Ar path |
.It Ic chown Ar own Ar path |
Change owner of file |
Change owner of file |
.Ar path to |
.Ar path |
|
to |
.Ar own . |
.Ar own . |
.Ar own |
.Ar own |
must be a numeric UID. |
must be a numeric UID. |
.It Ic help |
.It Ic help |
Display help text. |
Display help text. |
.It Ic get Ar remote-file Op Ar local-file |
.It Ic get Ar remote-path Op Ar local-path |
Retrieve the |
Retrieve the |
.Ar remote-file |
.Ar remote-path |
and store it on the local machine. |
and store it on the local machine. |
If the local |
If the local |
file name is not specified, it is given the same name it has on the |
path name is not specified, it is given the same name it has on the |
remote machine. |
remote machine. |
.It Ic lls Op Ar ls-options Op Ar path |
.It Ic lls Op Ar ls-options Op Ar path |
Display local directory listing of either |
Display local directory listing of either |
.Ar path |
.Ar path |
or current directory if |
or current directory if |
.Ar path |
.Ar path |
was not specified. |
is not specified. |
.It Ic lmkdir Ar path |
.It Ic lmkdir Ar path |
Create local directory specified by |
Create local directory specified by |
.Ar path . |
.Ar path . |
|
|
.It Ic ls Op Ar path |
.It Ic ls Op Ar path |
Display remote directory listing of either |
Display remote directory listing of either |
.Ar path |
.Ar path |
or current directory, is |
or current directory if |
.Ar path not specified. |
.Ar path |
|
is not specified. |
.It Ic lumask Ar umask |
.It Ic lumask Ar umask |
Set local umask to |
Set local umask to |
.Ar umask . |
.Ar umask . |
.It Ic mkdir Ar path |
.It Ic mkdir Ar path |
Create remote directory specified by |
Create remote directory specified by |
.Ar path . |
.Ar path . |
.It Ic put Ar local-file Op Ar remote-file |
.It Ic put Ar local-path Op Ar remote-path |
Upload |
Upload |
.Ar local-file |
.Ar local-path |
and store it on the remote machine. If the local file name is not specified, |
and store it on the remote machine. If the remote path name is not specified, |
it is given the same name it has on the local machine. |
it is given the same name it has on the local machine. |
.It Ic pwd |
.It Ic pwd |
Display remote working directory. |
Display remote working directory. |
|
|
.It Ic ! |
.It Ic ! |
Escape to local shell. |
Escape to local shell. |
.It Ic ? |
.It Ic ? |
A synonym for help. |
Synonym for help. |
.El |
.El |
.Sh AUTHORS |
.Sh AUTHORS |
Damien Miller <djm@mindrot.org> |
Damien Miller <djm@mindrot.org> |