hsftp1
Ftp emulator for ssh1
Usage
hsftp [-v]
[-l
username]
[-p
portnumber]
remote_host
hsftp [-h]
Overview
hsftp is an ftp emulator that provides the look-and-feel of an ftp session, but uses ssh to transport commands and data.
hsftp executes UNIX commands on the remote host, and thus will fail on non-UNIX remote hosts. If needed, hsftp will ask for the password. (The password is encrypted by ssh before transmission.)
Only a subset set of ftp commands is implemented: (m)put, (m)get, dir/ls, ldir, cd, lcd, pwd, chmod, mkdir, del/rm, ?/help, quit/bye.
Options
-
-l username -
The username on the remote host. Only required if not identical to the username on the local host.
-
-p portnumber -
The port on the remote host. Only required if not the default port (22).
-
-v -
Be more verbose.
-
-h -
Print help.
Caveats
For speed, hsftp doesn't check whether a 'cd' on the remote host is valid (i.e. whether the remote directory exists.)
get/put is always recursive. Already existing files are always overwritten.
If not installed SUID root, the password, once typed in, may be paged out to the swap partition when the program is left idle for some time.