190384912 Ssh Configure

download 190384912 Ssh Configure

of 4

Transcript of 190384912 Ssh Configure

  • 8/12/2019 190384912 Ssh Configure

    1/4

    Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R1R1(config)#ip domainR1(config)#ip domain-name% Incomplete command.R1(config)#ipR1(config)#ip domainR1(config)#exitR1#%SYS-5-CONFIG_I: Configured from console by console

    R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#ipR1(config)#ip domainR1(config)#ip domain-name% Incomplete command.R1(config)#ip domain% Incomplete command.R1(config)#ip domain-name% Incomplete command.R1(config)#ip domain-name duet.com

    R1(config)#crypto ? dynamic-map Specify a dynamic crypto map template key Long term key operationsR1(config)#crypto key ? generate Generate new keys zeroize Remove keysR1(config)#crypto key generate?generateR1(config)#crypto key generate ? rsa Generate RSA keysR1(config)#crypto key generate rsa ? R1(config)#crypto key generate rsa 1024

    ^% Invalid input detected at '^' marker.

    R1(config)#crypto key generate rsaThe name for the keys will be: R1.duet.comChoose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes.

    How many bits in the modulus [512]: 1024% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

    R1(config)#

    R1(config)#*Mar 1 0:11:19.30: %SSH-5-ENABLED: SSH 1.99 has been enabled

  • 8/12/2019 190384912 Ssh Configure

    2/4

    R1(config)#username duetR1(config)#?Configure commands: aaa Authentication, Authorization and Accounting. access-list Add an access list entry banner Define a login banner boot Modify system boot parameters cdp Global CDP configuration subcommands class-map Configure Class Map clock Configure time-of-day clock config-register Define the configuration register crypto Encryption module do To run exec commands in config mode dot11 IEEE 802.11 config commands enable Modify enable password parameters end Exit from configure mode exit Exit from configure mode hostname Set system's network name interface Select an interface to configure ip Global IP configuration subcommands ipv6 Global IPv6 configuration commands license Configure license features line Configure a terminal line logging Modify message logging facilities

    login Enable secure login checking mac-address-table Configure the MAC address table no Negate a command or set its defaults ntp Configure NTP parser Configure parser policy-map Configure QoS Policy Map priority-list Build a priority list privilege Command privilege parameters queue-list Build a custom queue list radius-server Modify Radius query parameters router Enable a routing process secure Secure image and configuration archival commands security Infra Security CLIs

    service Modify use of network based services snmp-server Modify SNMP engine parameters spanning-tree Spanning Tree Subsystem tacacs-server Modify TACACS query parameters username Establish User Name Authentication vpdn Virtual Private Dialup Network vpdn-group VPDN group configuration zone FW with zoning zone-pair Zone pair commandR1(config)#R1(config)#R1(config)#R1(config)#

    R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#R1(config)#

  • 8/12/2019 190384912 Ssh Configure

    3/4

    R1(config)#R1(config)#R1(config)#R1(config)#username duet ? password Specify the password for the user privilege Set user privilege level secret Specify the secret for the user R1(config)#username duetR1(config)#username duet ? password Specify the password for the user privilege Set user privilege level secret Specify the secret for the user R1(config)#username duet privilege ? User privilege levelR1(config)#username duet privilege 15R1(config)#username duet privilege 15 secret duetR1(config)#line vty 0 4R1(config-line)#login localR1(config-line)#transport ? input Define which protocols to use when connecting to the terminal server output Define which protocols to use for outgoing connectionsR1(config-line)#transport input

    % Incomplete command.R1(config-line)#transport input ? all All protocols none No protocols ssh TCP/IP SSH protocol telnet TCP/IP Telnet protocolR1(config-line)#transport input% Incomplete command.R1(config-line)#transport input sshR1(config-line)# int ga 0/0/0 ^% Invalid input detected at '^' marker.

    R1(config-line)# int ge 0/0 ^% Invalid input detected at '^' marker.

    R1(config-line)#intR1(config-line)#exitR1(config)#int ge 0/0 ^% Invalid input detected at '^' marker.

    R1(config)#exitR1#%SYS-5-CONFIG_I: Configured from console by console

    R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#intR1(config)#interface g 0/0R1(config-if)#ip address 192.168.0.1 255.255.255.0R1(config-if)#no shut

    R1(config-if)#%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

  • 8/12/2019 190384912 Ssh Configure

    4/4

    %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

    R1(config-if)#