XG2000 series User's Guide
119/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
ssh: connect to host %1$ port 22: Connection refused
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.
%1$: invalid user name
Explanation
Specified username is invalid.
[[Inserted string]]%1$: Specified username.
Solution
Specify the correct username.
ssh: connect to host %1$ port 22: connection timed out
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.
Note
z “scp” supports only password authentication, and this device can register up to 10 public keys of SSH servers.
z Execute “clear ssh-rhost-key” command to delete a registered public key.
Example
Copy the content of running-config to the file name "run_conf".
Then, upload the "run_conf" file to "run_conf_20080701" on the SSH server called "host2".
xg# show running-config > run_conf
xg# scp put foo host2 run_conf /tmp/run_conf_20080701
host2's password: