TelnetStackPasswords.cfg configuration file
The TelnetStackPasswords.cfg configuration file defines access credentials for Telnet access to devices.
You can use the TelnetStackPasswords.cfg configuration file to specify a Secure Shell (SSH) connection when configuring Telnet device access. SSH enables password encryption when performing Telnet access. SSH versions 1 and 2 are supported (restrictions apply in FIPS mode).
Important: SSH within Network Manager currently
supports password-based authentication or no authentication. It does
not support RSA signature authentication.
Database table used
The TelnetStackPasswords.cfg configuration file can be used to configure inserts into the telnetStack.passwords database table.
Note that there is another configuration file associated with the telnetStack database, the TelnetStackSchema.cfg file, but you should not need to alter this file.
Sample: Configuring Telnet access parameters for a subnet
The following example insert configures the Telnet
access parameters for a subnet. The insert specifies:
- A subnet address of
192.168.200.0
with a netmask of25
. - The password and username to use to access the device.
- The password, login and console prompts to expect from the device.
- The devices on this subnet support SSH.
insert into telnetStack.passwords
(
m_IpOrSubNet,
m_NetMaskBits,
m_Password,
m_Username,
m_PwdPrompt,
m_LogPrompt,
m_ConPrompt,
m_SSHSupport
)
values
(
'192.168.200.0',
25,
'3v3rt0n',
'user',
'.*assword:.*',
'.*ogin.*',
'.*onsole>.*',
1
);
Sample: Configuring Telnet access parameters for a device
The following example insert shows how you can configure
the access parameters for a single IP address. The insert specifies:
- A single IP address of
172.16.1.21
. The address is identified as a single address by the fact thatm_NetMaskBits=32
. - The password and username to use to access the device.
- The password, login and console prompts to expect from the device.
- This device does not support SSH.
insert into telnetStack.passwords
(
m_IpOrSubNet,
m_NetMaskBits,
m_Password,
m_Username,
m_PwdPrompt,
m_LogPrompt,
m_ConPrompt,
m_SSHSupport
)
values
(
'172.16.1.21',
32,
'',
'',
'.*assword.*',
'.*sername.*',
'.*Morr.*',
0
);
Sample: Configuring Telnet device-access for a subnet
The
following example insert configures the Telnet access parameters for
a subnet. The insert specifies:
- A subnet address of
192.168.200.0
with a netmask of25
. - The password and username to use to access the device.
- The password, login and console prompts to expect from the device.
- The devices on this subnet support SSH.
insert into telnetStack.passwords
(
m_IpOrSubNet,
m_NetMaskBits,
m_Password,
m_Username,
m_PwdPrompt,
m_LogPrompt,
m_ConPrompt,
m_SSHSupport
)
values
(
'192.168.200.0',
25,
'3v3rt0n',
'user',
'.*assword:.*',
'.*ogin.*',
'.*onsole>.*',
1
);
Sample: Configuring Telnet device-access for a single IP address
The following example insert shows how you can
configure the access parameters for a single IP address. The insert
specifies:
- A single IP address of
172.16.1.21
. The address is identified as a single address by the fact thatm_NetMaskBits=32
. - The password and username to use to access the device.
- The password, login and console prompts to expect from the device.
- This device does not support SSH.
insert into telnetStack.passwords
(
m_IpOrSubNet,
m_NetMaskBits,
m_Password,
m_Username,
m_PwdPrompt,
m_LogPrompt,
m_ConPrompt,
m_SSHSupport
)
values
(
'172.16.1.21',
32,
'',
'',
'.*assword.*',
'.*sername.*',
'.*Morr.*',
0
);