• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Cấu hình SSH trên Packet Tracer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cấu hình SSH trên Packet Tracer



    Cấu hình trên router:
    Code:
    vnpro#sh running-config 
    Building configuration...
    
    Current configuration : 680 bytes
    !
    version 12.4
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname vnpro
    !
    !
    !
    enable secret 5 $1$mERr$4dpRATIgxQacPVK0CfNV4/
    !
    !
    !
    !
    !
    aaa new-model
    !
    !
    !
    !
    !
    !
    !
    !
    username cisco password 0 1234
    !
    !
    !
    !
    !
    ip ssh version 1
    ip ssh authentication-retries 5
    ip ssh time-out 60
    ip domain-name www.vnpro.org
    !
    !
    !
    !
    !
    !
    interface FastEthernet0/0
     ip address 10.1.1.1 255.255.255.0
     duplex auto
     speed auto
    !
    interface FastEthernet0/1
     no ip address
     duplex auto
     speed auto
     shutdown
    !
    interface Vlan1
     no ip address
     shutdown
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    line vty 0 4
     transport input ssh
    !
    !
    !
    end
    Đặt IP cho PC:


    Thực hiện SSH trên PC:

    Câu lệnh:

    PC>ssh -l <username> <ip target>

    username: cisco
    ip username : 10.1.1.1



    Thực hiện : show crypto key mypubkey rsa

    Last edited by lamvantu; 19-08-2011, 08:54 AM.
Working...
X