302CHAPTER 32: SSH CONFIGURATION GUIDE
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep | 01 | 06:22 | new |
1 | noone | nogroup | 225 | Sep | 01 | 06:55 | pub |
#Add a directory named new1, and then check that the new directory has been successfully created.
mkdir new1 |
|
|
|
|
| ||
New directory created |
|
|
|
|
| ||
dir |
|
|
|
|
| ||
1 | noone | nogroup | 1759 | Aug | 23 | 06:52 config.cfg | |
1 | noone | nogroup | 225 | Aug | 24 | 08:01 pubkey2 | |
1 | noone | nogroup | 283 | Aug | 24 | 07:39 pubkey1 | |
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep | 01 | 06:22 new |
1 | noone | nogroup | 225 | Sep | 01 | 06:55 pub | |
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep | 02 | 06:30 new1 |
# Rename the directory to new2, and then verify the operation.
rename new1 new2 |
|
|
|
| |||
File successfully renamed |
|
|
|
| |||
dir |
|
|
|
|
| ||
1 | noone | nogroup | 1759 | Aug | 23 | 06:52 config.cfg | |
1 | noone | nogroup | 225 | Aug | 24 | 08:01 pubkey2 | |
1 | noone | nogroup | 283 | Aug | 24 | 07:39 pubkey1 | |
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep | 01 | 06:22 new |
1 | noone | nogroup | 225 | Sep | 01 | 06:55 pub | |
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep | 02 | 06:33 new2 |
# Download the file pubkey2 from the server, renaming it to public.
This operation may take a long time, please wait...
Remote file:flash:/pubkey2
Downloading file successfully ended
# Upload file pu to the server and rename it to puk, and then verify the operation.
put pu puk |
|
|
|
|
| ||
This operation | may take | a long time, please wait... |
| ||||
Local file: pu |
|
| |||||
Uploading file | successfully ended |
|
|
|
| ||
dir |
|
|
|
|
| ||
1 | noone | nogroup | 1759 | Aug 23 06:52 | config.cfg | ||
1 | noone | nogroup | 225 | Aug 24 08:01 | pubkey2 | ||
1 | noone | nogroup | 283 | Aug 24 07:39 | pubkey1 | ||
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep 01 06:22 | new | |
drwxrwxrwx | 1 | noone | nogroup | 0 | Sep 02 | 06:33 | new2 |
1 | noone | nogroup | 283 | Sep 02 | 06:35 | pub | |
1 | noone | nogroup | 283 | Sep 02 | 06:36 | puk | |
|
|
|
|
|
|
|
# Exit SFTP.
Bye