Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
115/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.6.11 scp get
Function
Downloads files on the SSH server into volatile memory.
Prompt
xg#
Command syntax
scp get USERNAME HOST REMOTE-FILE [ LOCAL-FILE ]
Parameter
z USERNAME
Specifies the username of the SSH server.
z HOST
Specify the hostname of the SSH server or IP address.
IP addresses that can be specified are: 1.0.0.1 - 126.255.255.254, 128.0.0.1 - 191.255.255.254,
and 192.0.0.1 - 223.255.255.254.
z REMOTE-FILE
Specifies the file name stored on the SSH server.
z [ LOCAL-FILE ]
Specifies the file name to save in volatile memory.
When this parameter is omitted, the "REMOTE-FILE" file name will be used.
Command type
Operation management commands
Message
% The length of user name is invalid.
Explanation
The length of the username is invalid.
Solution
Specify the username 16 or less characters.
No more remote host public key can be registered.
Explanation
Specified remote host public key could not be registered.
Solution
Delete a public key by using "clear ssh-rhost key" command, then execute the command
again.
scp: %1$: No such file or directory
Explanation
Specified file does not exist.
[[Inserted string]]%1$: Specified file name.
Solution
Specify the correct file name.
scp %1$: Permission denied
Explanation
There was no access permission to the SSH server.
[[Inserted string]]%1$: Specified file name.
Solution
Check the access permission to the SSH server.
%1$: No space left on device
Explanation
This device does not have enough space to copy the file. Incomplete copied file may remain
on the device.
[[Inserted string]]%1$: Specified file name.
Solution
Delete incomplete copied file and unnecessary files by using "delete" command, then
execute the command again.
ssh: connect to host %1$ port 22: No route to host
Explanation
It failed to access to specified SSH server.
[[Inserted string]]%1$: Specified IP address or host name.
Solution
Specify the correct IP address or host name.
Check the setting and status of SSH server and whether there is no problem in network
connection to the SSH server.
ssh: connect to host %1$ port 22: Network is unreachable
Explanation
It failed to access to specified SSH server.
[[Inserted string]]%1$: Specified IP address or host name.
Solution
Specify the correct IP address or host name.
Check the setting and status of SSH server and whether there is no problem in network
connection to the SSH server.