beautypg.com

Establishing a connection between the ssh client, And the server – H3C Technologies H3C S7500E Series Switches User Manual

Page 216

background image

11-12

To do...

Use the command…

Remarks

Enter system view

system-view

Disable first-time authentication

support

undo ssh client first-time

Required

By default, first-time authentication

is supported on a client.

Configure the server host public

key

See

Configuring a Client Public

Key

Required

The method for configuring the

server host public key on the client

is similar to that for configuring

client public key on the server.

Specify the host public key name

of the server

ssh client authentication server

server assign publickey keyname

Required

Establishing a Connection Between the SSH Client and the Server

Follow these steps to establish the connection between the SSH client and the server:

To do...

Use the command…

Remarks

For an IPv4

server

ssh2 server [ port-number ]

[ identity-key { dsa | rsa } |

prefer-ctos-cipher { 3des | aes128 |

des } | prefer-ctos-hmac { md5 |

md5-96 | sha1 | sha1-96 } | prefer-kex

{ dh-group-exchange | dh-group1 |

dh-group14 } | prefer-stoc-cipher

{ 3des | aes128 | des } |

prefer-stoc-hmac { md5 | md5-96 |

sha1 | sha1-96 } ] *

Establish a

connection

between the

SSH client and

the server, and

specify the

public key

algorithm,

preferred

encryption

algorithm,

preferred HMAC

algorithm and

preferred key

exchange

algorithm

For an IPv6

server

ssh2 ipv6 server [ port-number ]

[ identity-key { dsa | rsa } |

prefer-ctos-cipher { 3des | aes128 |

des } | prefer-ctos-hmac { md5 |

md5-96 | sha1 | sha1-96 } | prefer-kex

{ dh-group-exchange | dh-group1 |

dh-group14 } | prefer-stoc-cipher

{ 3des | aes128 | des } |

prefer-stoc-hmac { md5 | md5-96 |

sha1 | sha1-96 } ] *

Required

Use either command in

user view.