Cyclades PC400 installation manual Netstat -rn, Net-host, Netmask, Ssh The Secure Shell Session

Models: PC400

1 45
Download 45 pages 58.97 Kb
Page 37
Image 37

Cyclades-PC400

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 [adddel] [-net-host] target netmask nt_msk [gw gt_way] interf

[adddel]

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

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

nt_msk

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.

Appendix A - Linux

37

Page 37
Image 37
Cyclades PC400 installation manual Netstat -rn, Net-host, Netmask, Ssh The Secure Shell Session