• February 11, 2012, 08:34:04 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: enable ssh on a 8600  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
enable ssh on a 8600
« on: September 06, 2010, 07:49:40 AM »
hi everyone,

i'm trying to enable ssh on a 8600. I think all is right (as config sys set ssh info seems to show) but i can't ssh the passport ?
Is the Passport need a reboot ?

config sys set ssh info

Total Active Sessions  : 0
   version            : v2only
   port               : 22
   max-sessions       : 4
   timeout            : 60
   action rsa-keygen  : rsa-keysize 1024
   action dsa-keygen  : key not generated
   rsa-auth           : true
   dsa-auth           : true
   pass-auth          : true
   enable             : true


thanks


Offline dafle_ro

  • Rookie
  • **
  • Posts: 6
Re: enable ssh on a 8600
« Reply #1 on: September 06, 2010, 08:34:04 AM »
Hi

I think you need create access policy for ssh enable:

config sys access-policy enable false

config sys access-policy policy 2 create
config sys access-policy policy 2 name policy2
config sys access-policy policy 2 accesslevel rwa
config sys access-policy policy 2 service ssh enable
config sys access-policy policy 2 network x.x.x.0/24
config sys access-policy policy 2 enable

config sys access-policy enable true

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: enable ssh on a 8600
« Reply #2 on: September 06, 2010, 04:08:59 PM »
If you have access policies enabled then you'll need to add an additional policy to allow access.

What version of software are you running?

I believe with older versions of software the CPU/SF needed a restart.

Cheers!
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
Re: enable ssh on a 8600
« Reply #3 on: September 07, 2010, 02:03:52 AM »
hi,

version is 5.1.2.0 and i think access policy is disable. I can do a telnet (I don't want telnet anymore that's why i want enable ssh) :

show sys access-policy info

  AccessPolicyEnable: off

                  Id: 1
                Name: default
        PolicyEnable: true
                Mode: allow
             Service: ftp|http|telnet|ssh
          Precedence: 128
         NetAddrType: any
             NetAddr: N/A
             NetMask: N/A
     TrustedHostAddr: N/A
 TrustedHostUserName: none
         AccessLevel: readOnly
        AccessStrict: false
               Usage: 0


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: enable ssh on a 8600
« Reply #4 on: September 07, 2010, 10:51:51 AM »
Have you loaded any of the encryption modules? I'm know they are required for SNMPv3 but I'm not sure about SSH.
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
Re: enable ssh on a 8600
« Reply #5 on: September 07, 2010, 10:56:38 AM »
i don't thinkso .
how can i load them or verify if they are loaded ?
thanks

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
Re: enable ssh on a 8600
« Reply #6 on: September 07, 2010, 02:05:38 PM »
ok i've found a way ; i'll post explanation asap.
thanks

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
Re: enable ssh on a 8600
« Reply #7 on: September 08, 2010, 09:42:18 AM »
how i enable ssh on ERS 8600 :
1/ enable ssh & generate a key :
sys set ssh enable true
config sys set ssh action rsa-keygen
2/ copy file p80c5120.img on /flash/  and then
load the encryption module as Michael suggest (he was right as usual!!) :
config load-encryption-module 3DES
3/ create access-policies
sys access-policy policy 2 create
sys access-policy policy 2 accesslevel rwa
sys access-policy policy 2 network X.X.X.0/24
sys access-policy policy 2 service ssh enable
sys access-policy policy 2 service snmpv3 enable
sys access-policy policy 2 snmp-group-add readgrp snmpv1
sys access-policy policy 2 snmp-group-add readgrp snmpv2c
sys access-policy policy 2 snmp-group-add v1v2grp snmpv1
sys access-policy policy 2 snmp-group-add v1v2grp snmpv2c
4/ enable access-policies
config sys access-policy enable true

PS : Michael i'm sure i've posted info (april/may maybe) about how monitoring ERS using cacti, nedi and a lot of
tools. I can't find this post. Was it deleted and why (contents maybe ?) ?

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: enable ssh on a 8600
« Reply #8 on: September 08, 2010, 04:44:38 PM »
Thanks for sharing your solution to everyone here.

We lost a few posts when I migrated the forums over to a VPS back a few months... I vaguely remember the post you are referring to but it's possible it was one of the few that were lost in that 1-2 day time frame.

Feel free to re-post if you are so inclined.

Cheers!

If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!

Offline tbigby

  • Jr. Member
  • **
  • Posts: 28
Tony Bigby

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: enable ssh on a 8600
« Reply #10 on: September 09, 2010, 08:26:53 PM »
That was one of them but I believe there was another one that got lost during the migration, I could be wrong though.
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!

Offline dekdek

  • Jr. Member
  • **
  • Posts: 35
Re: enable ssh on a 8600
« Reply #11 on: September 10, 2010, 01:01:37 PM »
yes it's this thread. but no problem with that. i thought it was because of the contents and i was very surprise of that ...