Chapter 3 Managing the network access devices 87

Figure 5 shows sample output for the /cfg/domain #/sshkey command.

Figure 5 Generating an SSH key for the domain

>>Main# /cfg/domain 1/sshkey

----------------------------------------------------------

[NSNAS SSH key Menu]

generate -Generate new SSH key for the NSNAS domain

show - Show NSNAS domain public SSH key

>> NSNAS SSH key# generate

Key already exists, overwrite? (yes/no) [no]: yes Generating new SSH key, this operation takes a few sec- onds... done.

Apply to activate.

>>NSNAS SSH key# apply

>>NSNAS SSH key# show

Type: DSA Fingerprint: 4c:7c:b6:b4:47:5f:ae:6e:65:f1:b3:b1:7a:f0:59:d3

---- BEGIN SSH2 PUBLIC KEY ----

AAAAB3NzaC1kc3MAAACBANWNQJzGnZ7lqIUZw5VkjseaR0dcgPhx/CA6Zl

JPZlRkY/USzJmZLoXpWuhAiByMPJ/69BLWCHTQUI/+FqNPzEXnjBBKHSw0

smb3OKfCJMfv4OfF7YQyfQP6KiKjsdNdHYH1ErHqNe1G8q8KIKinlG35z3

Bc7Yi9BxK84suWm3jdAAAAFQDg5ohEvhYoDlYhal3zMkgq0+t33wAAAIBh

Sa+J/5SxwYfnE/ltdwlOgcMk4eomP03M4BsI8vylsvHt4THD3typTtqjWo

jQG0vDBt7a/4hcHQ55LTrC81/u/+ep5NVlTjxlmczCz6C1wOq4Ab1iiQub

gRRL7DnZSghjNAU8JqzcEbU7g0VKorlxwt/M9P17ZmBdhkgwsdgArAAAAI

BtMdI1Q5eNq/yRmRuvinEwVjbQNVaywDkQljLvY4wnHjj+OjWpxVyLvzHI

Qs3IRBSzTCXGOqmmTNYXeDkHANPGl5RkfyldEq4/pJpUIMPBEj/C4H34Eq

WTkZvCaHRG3HH6QsJj3Wreskh574t/ubybhmzDw5Ubl42AxUJbDMVbZg==

---- END SSH2 PUBLIC KEY ----

>> NSNAS SSH key# export

Select protocol (tftp/ftp/scp/sftp) [tftp]:

Enter hostname or IP address of server: localhost

Enter filename on server: key.pub

Trying to export NSNAS public key to tftp://local- host/key.pub

.

sent 590 bytes

>> NSNAS SSH key#

Nortel Secure Network Access Switch 4050 User Guide

Page 87
Image 87
Nortel Networks 4050 manual Shows sample output for the /cfg/domain #/sshkey command, Main# /cfg/domain 1/sshkey