#!/bin/sh
account="aaa"
password="bbb_123"
ftp -n "10.20.30.40" << !
user $account $password
cd /Archive
cd /txtback
bye
下面運(yùn)行報(bào)錯(cuò):
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
AUTH KERBEROS_V4 not supported.
KERBEROS_V4 rejected as an authentication type
/Archive: No such file or directory.
/txtback: No such file or directory.
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
AUTH KERBEROS_V4 not supported.
KERBEROS_V4 rejected as an authentication type
/Archive: No such file or directory.
/txtback: No such file or directory.