方案1: 使用root用户创建一个/usr/bin/ssh_cvs文件,假设远程服务器的SSH端口是非缺省端口:34567 #!/bin/sh /usr/bin/ssh -p 34567 “$@” 然后:chmod +x /usr/bin/ssh_cvs 并CVS_RSH=ssh_cvs; export CVS_RSH...

报错信息1: Starting httpd: [Fri May 19 11:49:42 2006] [warn] VirtualHost 127.0.0.1:80 overl aps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directi...

Function ereg() is deprecated in.。。。。。 Change elseif ($depth >= $min_depth && ereg($mask, $file)) { to elseif ($depth >= $min_depth && mb_ereg($mask, $file)) { mb_ere...

很多朋友的php程序当php的版本升级到5.3以后,会出现”Deprecated: Assigning the return value of new by reference is deprecated in“ 显示出来。这是因为5.3以后,不能使用”=&”符号,可以直接用”=”就...

0

Linux下实现自动设置SSH代理

Posted in Linux at 十二月 2nd, 2010 / No Comments »

SSH的巨大价值体现在能够配置为代理服务器上。不像在Windows下每次还需要手动登录设置,Linux有很好的工具链能够实现自动设置SSH代理,就是expect和ssh的联合使用,再加上proxychains,任何程序都可以享用代理了,...