XG2000 series User's Guide
257/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
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.
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.
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.
%1$: invalid user name
Explanation
Specified username is invalid.
[[Inserted string]]%1$: Specified username.
Solution
Specify the correct username.
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
Save the current system status data as a maintenance information file in non-volatile memory then check the logged status of
the maintenance information using the “show maintenance” command.
Transfer the maintenance information to the “host2” SSH server by naming it as the “mainte_collected date and time” file.
Compare the file size of the maintenance information displayed on the screen to the size of the file stored on the SSH server.
xg# save maintenance
xg# show maintenance
Maintenance Information 2008/06/30-20:58:17
==================================================
NO Type Occurred Time
--- -------------------------- -------------------
1 system dump 2008/06/30-18:21:23
2 system dump(dump switch)
2008/06/30-20:57:58
3 system dump(machine check) 2008/06/30-20:58:14
==================================================
xg# scp put-maintenance foo host2
ssh-host2's password:
Total file size: 480711 (bytes)