|
测试了一下,其实只要将exec /opt/sbin/sshd -D -p 22 -o “PasswordAuthentication no” -o “PermitRootLogin without-password”改成exec /opt/sbin/sshd -D -p 22 -o “PasswordAuthentication yes” -o “PermitRootLogin yes”就可以了。
" F( k% D, a; t) Z, o. ~& n另外将下面的iptables规则中的-i eth0去掉,就可让GPRS和3G连接也可使用;
# O: z8 q D# H平时不用的时候建议关闭Openssh,为了方便,在/etc/profile文件中加入:
% u2 ?$ j1 y4 I7 I- D, o& y* xalias startssh='start mobi.optware.openssh'
* N. ` w; `( m/ A+ K/ h: Calias stopssh='stop mobi.optware.openssh'( ]) W6 C |. n# m+ Q. u# \# P9 A
两句,就可以用startssh和stopssh命令来开启和关闭Openssh服务了。. D# R5 ^ ~7 m
1 u* V3 E3 R8 \1 d, F- ]以上在pixi plus Webos1.4.5版本中验证通过。 |
|