HP 6125G HP 6125G & 6125G/XG Blade Switches Security Configuration Gui - Page 213
Working with SFTP directories
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 213 highlights
Task Command Remarks Establish a connection to the remote SFTP server and enter SFTP client view. • Establish a connection to the remote IPv4 SFTP server and enter SFTP client view: sftp server [ port-number ] [ vpn-instance vpn-instance-name ] [ identity-key { dsa | rsa } | prefer-ctos-cipher { 3des | aes128 | des } | prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange | dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] * Use either command in • Establish a connection to the remote IPv6 SFTP user view. server and enter SFTP client view: sftp ipv6 server [ port-number ] [ identity-key { dsa | rsa } | prefer-ctos-cipher { 3des | aes128 | des } | prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange | dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] * Working with SFTP directories SFTP directory operations include: • Changing or displaying the current working directory • Displaying files under a directory or the directory information • Changing the name of a directory on the server • Creating or deleting a directory To work with the SFTP directories: Step Command 1. Enter SFTP client view. For more information, see "Establishing a connection to the SFTP server." 2. Change the working directory of the remote SFTP server. cd [ remote-path ] 3. Return to the upper-level directory. cdup 4. Display the current working directory of the remote SFTP pwd server. 5. Display files under a directory. • dir [ -a | -l ] [ remote-path ] • ls [ -a | -l ] [ remote-path ] 6. Change the name of a directory on the SFTP server. rename oldname newname Remarks Execute the command in user view. Optional. Optional. Optional. Optional. The dir command functions as the ls command. Optional. 203