Skip to main content

3.7.2 Enabling/Disabling the SSH and Telnet Services


3.7.2 Enabling/Disabling the SSH and Telnet Services
To confirm the SSH service and Telnet service set for the XSCF network, use the showssh command and showtelnet command. Also, to set the SSH service or Telnet service, use the setssh command or settelnet command.
When using the setssh command or settelnet command to enable/disable the SSH service or Telnet service, the setting is reflected immediately after the command is executed.
  1. Execute the showssh command to display the SSH settings, or execute the showtelnet command to display the Telnet settings.
    The following example displays the SSH service settings.
XSCF> showssh
SSH status: enabled
RSA key:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAt0IG3wfpQnGr51znS9XtzwHcBBb/
UU0LN08SilUXE6j+avlxdY7AFqBf1wGxLF+Tx5pTa6HuZ8o8yUBbDZVJAAAAFQCf
KPxarV+/5qzK4A43Qaigkqu/6QAAAIBMLQl22G8pwibESrh5JmOhSxpLzl3P26ks
I8qPr+7BxmjLR0k=
Fingerprint:
1024 e4:35:6a:45:b4:f7:e8:ce:b0:b9:82:80:2e:73:33:c4
/etc/ssh/ssh_host_rsa_key.pub
  1. The following example displays the Telnet service settings.
XSCF> showtelnet
Telnet status: disabled
  1. Execute the setssh command to configure the SSH service, or execute the settelnet command to configure the Telnet service.
    The following example specifies that the SSH service be enabled.
XSCF> setssh -c enable
Continue? [y|n] :y
  1. The following example specifies that the Telnet service be disabled.
XSCF> settelnet -c disable
Continue? [y|n] :y