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
DSA key:
ssh-dss
AAAAB3NzaC1kc3MAAACBAJSy4GxD7Tk4fxFvyW1D0NUDqZQPY3PuY2IG7QC4BQ1k
ewDnblB8/JEqI+8pnfbWzmOWU37KHL19OEYNAv6v+WZT6RElU5Pyb8F16uq96L8Q
DMswFlICMZgrn+ilJNStr6r8KDJfwOQMmK0eeDFj2mL40NOvaLQ83+rRwW6Ny/yF
1Rgv6PUpUqRLw4VeRb+uOfmPRpe6/kb4z++lOhtp
WI9bay6CK0nrFRok+z54ez7BrDFBQVuNZx9PyEFezJG9ziEYVUag/23LIAiLxxBm
W9pqa/WxC21Ja4RQVN3009kmVwAAAIAON1LR/9Jdd7yyG18+Ue7eBBJHrCA0pkSz
vfzzFFj5XUzQBdabh5p5Rwz+1vriawFIZI9j2uhM/3HQdrvYSVBEdMjaasF9hB6T
/uFwP8yqtJf6Y9GdjBAhWuH8F13pX4BtvK9IeldqCscnOuu0e2rlUoI6GICMr64F
L0YYBSwfbwLIz6PSA/yKQe23dwfkSfcwQZNq/5pThGPi3tob5Qev2KCK2OyEDMCA
OvVlMhqHuPNpX+hE19nPdBFGzQ==
Fingerprint:
1024 9e:39:8e:cb:8a:99:ff:b4:45:12:04:2d:39:d3:28:15
/etc/ssh/ssh_host_dsa_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