對于在 Windows 上經(jīng)常需要遠(yuǎn)程管理 Linux 服務(wù)器的 SA 們來說,也許會覺得 SecureCRT 非常好用,因為它是一個強大的 SSH 帳號管理工具,而且可以記住密碼,但這個是收費軟件。而現(xiàn)在如果你想在 CentOS 上也需要這樣一款軟件的話,那么 PAC Manager 也許正是你要尋找,它是一款非常不錯的替代品,而且完全開源免費。
功能:
1.支持遠(yuǎn)程及本地宏命令。
2.支持 EXPECT 批處理。
3.支持代理。
4.支持集群連接。
5.支持標(biāo)簽或窗口。
6.批量帳號管理等等。
下載地址:http://sourceforge.net/projects/pacmanager/files/pac-4.0/
我下載的是:pac-4.5.3.5-2.x86_64.rpm
執(zhí)行命令安裝:
rpm -ivh pac-4.5.3.5-2.x86_64.rpm
但是報出如下錯誤:
error: Failed dependencies:
ftp is needed by pac-4.5.3.5-2.x86_64
perl(Crypt::CBC) is needed by pac-4.5.3.5-2.x86_64
perl(Crypt::Rijndael) is needed by pac-4.5.3.5-2.x86_64
perl(Digest::SHA) is needed by pac-4.5.3.5-2.x86_64
perl(Expect) is needed by pac-4.5.3.5-2.x86_64
perl(Gnome2::GConf) is needed by pac-4.5.3.5-2.x86_64
perl(Gtk2) is needed by pac-4.5.3.5-2.x86_64
perl(Gtk2::Ex::Simple::List) is needed by pac-4.5.3.5-2.x86_64
perl(Gtk2::Ex::Simple::TiedCommon) is needed by pac-4.5.3.5-2.x86_64
perl(Gtk2::GladeXML) is needed by pac-4.5.3.5-2.x86_64
perl(Net::ARP) is needed by pac-4.5.3.5-2.x86_64
perl(OSSP::uuid) is needed by pac-4.5.3.5-2.x86_64
perl(Socket6) is needed by pac-4.5.3.5-2.x86_64
perl(Time::HiRes) is needed by pac-4.5.3.5-2.x86_64
perl(YAML) is needed by pac-4.5.3.5-2.x86_64
perl-Crypt-Blowfish is needed by pac-4.5.3.5-2.x86_64
perl-Crypt-Rijndael is needed by pac-4.5.3.5-2.x86_64
說明缺了不少的信賴,依次安裝。
首先安裝 epel 源,這個因為先前我裝其它軟件的時候裝過了,這里就不裝了:
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm/pre>
安裝依賴:
# yum install ftp perl-Crypt-Blowfish perl-Crypt-CBC perl-Crypt-Rijndael perl-Digest-SHA perl-Expect perl-Gtk2 perl-IO-Stty perl-Net-ARP perl-YAML perl-Cairo perl-Glib perl-IO-Tty perl-Pango uuid-perl
perl-Gnome2-GConf perl-Gtk2-Ex-Simple-List perl-Gtk2-GladeXML 這三個包不在源內(nèi),下載下來手工安裝:
# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/perl-Gnome2-GConf-1.044-1.el6.rf.x86_64.rpm
# wget http://li.nux.ro/download/nux/dextop/el6/i386/perl-Gtk2-Ex-Simple-List-0.50-13.el6.nux.noarch.rpm
# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/perl-Gtk2-GladeXML-1.007-1.el6.rf.x86_64.rpm
# rpm -ivh perl-Gnome2-GConf-1.044-1.el6.rf.x86_64.rpm perl-Gtk2-Ex-Simple-List-0.50-13.el6.nux.noarch.rpm perl-Gtk2-GladeXML-1.007-1.el6.rf.x86_64.rpm
以上是網(wǎng)上說的一些信賴,但是我在實際安裝的時候,發(fā)現(xiàn)還缺少下面的信賴:
perl(Socket6) is needed by pac-4.5.3.5-2.x86_64
perl(Time::HiRes) is needed by pac-4.5.3.5-2.x86_64
telnet is needed by pac-4.5.3.5-2.x86_64
繼續(xù)安裝:
yum install perl-Socket6
yum install perl-Time-HiRes
yum install telnet
安裝完成,再繼續(xù)執(zhí)行命令:
rpm -ivh pac-4.5.3.5-2.x86_64.rpm
安裝成功,可以使用了。
在實際的使用中,發(fā)現(xiàn)ssh連接很慢,而且要在connection的proxy中,勾選Never use any proxy for this connection,不然會連接不上,系統(tǒng)中并沒有設(shè)置代理,原因不明。