Ssh - the secure shell session – Cyclades PC400 User Manual

Page 37

Advertising
background image

Cyclades-PC400

37

Appendix A - Linux

Installation Manual

netstat -rn

Type man netstat at the Linux prompt for more informations about netstat options. Routes should be added to
the file /proc/net/route or at the prompt (for temporary routes) using the following syntax:

route [add|del] [-net|-host]

target

netmask

nt_msk

[gw

gt_way

]

interf

[add|del]

one of these tags must be present -- routes can be either added or deleted.

[-net|-host]

-net is for routes to a network and -host is for routes to a single host.

target

target

is the IP address of the destination host or network

netmask

nt_msk

the tag netmask and a mask are necessary only when subnetting is used. Otherwise, a
mask appropriate to the

target

is assumed.

nt_msk

must be specified in dot notation.

gw

gt_way

specifies a gateway, when applicable.

gt_way

is the IP address or hostname of the

gateway.

interf

the interface to use for this route. Must be specified if a gateway is not. When a gateway
is specified, the operating system determines which interface is to be used.

Type man route at the Linux prompt for more information about the syntax for the command route.

ssh - The Secure Shell Session

ssh is a command interface and protocol often used by network administrators to connect securely to a remote
computer, and is a highly recommended alternative to telnet/rlogin. ssh replaces its non-secure counterpart rsh.
There are two versions of the protocol, ssh and ssh2. Type man ssh2 at the Linux command prompt for more
information about the use of ssh.

Advertising