摘要:
打开sshd服务service sshd statuschkconfigsshd on // sshd服务开机自动启动service sshd start防火墙打开22端口iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT原因如下:1.在/etc/ssh/sshd_config文件中找到ssh所对应的端口2.在/etc/ssh/sshd_config文件中设置PasswordAuthentication yes3.在/etc/ssh/sshd_config文件中设置PermitRootLogin yes(这里只有root一个用户名,只能先 阅读全文
摘要:
Or,How to use variable length argument lists in Python.The special syntax,*argsand**kwargsin function definitions is used to pass a variable number of arguments to a function. The single asterisk form (*args) is used to pass anon-keyworded, variable-length argument list, and the double asterisk form 阅读全文