Router config with SSH

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
trungtano
Cacti User
Posts: 90
Joined: Fri Apr 10, 2009 1:57 am
Contact:

Router config with SSH

Post by trungtano »

Dear all,


I see in the change log :

ChangeLog

— 0.3 —

*
compat: Remove PIA 1.x support
*
compat: Register Realms
*
compat: 0.8.7g

— 0.2 —

*
feature: Allow the use of enable passwords
*
feature: Add support for SSH Connections (thanks to Abdul Pallarés)

— 0.1 —

*
Initial Release
*
Nightly Backups
*
View Config of any backup
*
Compare Configs
*
Automatically update Hostname from config file

But, where can I enable SSH feature? Or can I download V0.2

Thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Router config with SSH

Post by gandalf »

moving
R.
sharekhan
Cacti User
Posts: 57
Joined: Mon Apr 04, 2011 10:47 am

Re: Router config with SSH

Post by sharekhan »

Hi Dear,

Pls help , how to used Router config with SSH i am using ssh in router , i have disable the telnet .

pls suggest ...


Thank & regards
lalIT
llogan777
Posts: 1
Joined: Mon May 23, 2011 10:44 am

Re: Router config with SSH

Post by llogan777 »

I have looked here a couple of times and still see no answer for how to get my routerconfig to work with SSH. I am not able to get it to work at all.
In my environment I am required to turn off Telnet and must have SSH. If I knew where to logs were to look I would. The only log I know to look in is cacti.log and it doesn't give me much.

I am running 0.8.7g and PIA of 2.8. The version of routerconfig is 0.3 I would be greatlful if anyone could point me in the right direction. I only have a couple days left on this project and I would really like to have this working for the customer before I leave.

Thanks,

LTL
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Router config with SSH

Post by noname »

trungtano
Cacti User
Posts: 90
Joined: Fri Apr 10, 2009 1:57 am
Contact:

Re: Router config with SSH [solve]

Post by trungtano »

Now you can install the PHP SSH module on CentOS/RedHat in less time than it would take someone
to steal your FTP password during a transfer.
So about a minute all said and done.

1.) need to do any compiling anymore:
yum install libssh2 libssh2-devel

2.) yum install away! (yum install php-pecl-ssh2)
Now that you have EPEL installed the PHP SSH module is a quick yum away:

ftp://ftp.muug.mb.ca/mirror/fedora/epel ... x86_64.rpm
rpm -ivh php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm

All you have to do is hit Enter and it should detect the proper path. Once the install is completed,
you just have to tell PHP to load the extension when it boots.

touch /etc/php.d/ssh2.ini
echo extension=ssh2.so > /etc/php.d/ssh2.ini

3.) Reload Apache
Now restart your webserver and test to see if the changes took effect.

/sbin/service httpd reload
php -m | grep ssh2
ssh2

Boom, you’re done. Now when you log in/refresh your wp-admin section you should see an SSH2 radio button next to
FTP and FTPS on any update/install form.

welcome our new SSH overlords.

http://kevin.vanzonneveld.net/techblog/ ... s_with_php
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests