R3303-HP HSR6800 Routers Security Command Reference

365
Syntax
rename oldname newname
Views
SFTP client view
Default command level
3: Manage level
Parameters
oldname: Specifies the name of an existing file or directory.
newname: Specifies a new name for the file or directory.
Examples
# Change the name of a file on the SFTP server from temp1.c to temp2.c.
sftp-client> rename temp1.c temp2.c
File successfully renamed
rmdir
Use rmdir to delete the specified directories from an SFTP server.
Syntax
rmdir remote-path&<1-10>
Views
SFTP client view
Default command level
3: Manage level
Parameters
remote-path&<1-10>: Specifies one or more directories to delete on the remote SFTP server. &<1-10>
means that you can provide up to 10 directory names that are separated by space.
Examples
# On the SFTP server, delete directory temp1 in the current directory.
sftp-client> rmdir temp1
Directory successfully removed
scp
Use scp to transfer files with an SCP server.
Syntax
In non-FIPS mode:
scp [ ipv6 ] server [ port-number ] { get | put } source-file-path [ destination-file-path ] [ identity-key { dsa
| rsa } | prefer-compress { zlib | zlib-openssh } | prefer-ctos-cipher { 3des | aes128 | des } |
prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange | dh-group1