求解FTP错误原因,
脚本如下:data=$(date +%Y-%m-%d)
echo "user zsl1 zsl" > zsl
echo "cd zsl" >> zsl
echo "put $data $data" >> zsl
cat zsl
ftp -i -n 192.168.1.121< zsl
执行后报以下错误,但能正常执行。
Unknown security mechanism.
Unknown security mechanism.
KERBEROS_V4 rejected as an authentication type 貌似用户名密码问题。
参考下:
http://blog.sina.com.cn/s/blog_4f925fc30100nf2a.html
页:
[1]