Brocade Communications Systems 8 Command Reference Manual page 934

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

2
sshUtil
3. Connect to switch using remote ssh client with the -i private_key option:
To display the imported public keys on a switch:
user's public keys
ssh-dss AAAAB3NzaC1kc3MAAACBANXuRsJoIA0PFJtGuZVLfqvfSrDYPplWuFouOmTcmuNvpTnd+yoZ
u3C/lAu930HLTmhfxeke/NWRIdj2MJS8yTf30a0u4bf9MSNB8Pt453P/+7VHHxNBYsh+Z++Dv1hfcTeb
0s53bdf7jyYSUdj1k+w//sNTaz0DCs0+rimo4l2NAAAAFQDCuHKRctSHD8PRYu5Ee1yWCQKT/wAAAIAo
AMvr1ooq0JVXmXfd0VKcC7AImzFYgRa/FOxZBe4JDkCAXztFk5wnAFyUbyTWEoC955mkYGqZRydMrSNM
9wLCAf2DTxXxuHFujA1REL5NGdZqRWo2Sk5HLkYQQYM1w9r9vfKQnFH3wYsnHV2sq7+tyRlXfwE416ee
chdwWVpmjgAAAIEAqxcaE1vY4o/cBq1Py62lPaZTcfOHS3jjdKgSOBKPCCVeNyx4gxnmqvihtyroeWAY
dBDK4CFgyhut16a/QmdFjn6iyiNR2SGV7X9xqkjPN8H4EhIPXGxoDVOfY1Vdt3V3KUxVeEI+vTBI2KJd
PmmLfyEKZqCHOlwBx+HuuZP2BnU= username@host
To delete all imported public keys on a switch:
To set up SSH public key authentication on a switch for outgoing connections:
1. Generate a private/public key pair on the local switch:
2. Export the public key to a remote host:
3. Append the public key to the authorized_keys file on the remote host:
To delete the private key on a switch:
See Also
none
902
Password:
public key is imported successfully.
username@remotehost> ssh username@switch IP address -i id_dsa
switch:username> sshutil showpubkeys
switch:username> sshutil delpubkeys
WARNING: It deletes all the ssh public keys for user. Do you want \
to proceed(Yes or No, default is No)?yes
ssh public keys associated to username are deleted.
switch:username> sshutil genkey
Enter passphrase (empty for no passphrase): pass phrase
Enter same passphrase again: pass phrase
Key pair generated successfully.
switch:username> sshutil exportpubkey
Enter IP address: remote host IP Address
Enter remote directory: ~username/.ssh
Enter login name:username
Password:
public key out_going.pub is exported successfully.
username@remotehost> cat ~/.ssh/outgoing.pub >> ~/.ssh/authorized_keys
switch:username> sshutil delprivkey
private key is deleted successfully.
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents