I did the same thing. It is giving the error as below
Code:
'AUTH GSSAPI': command not understood
'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
?Invalid command
Please login with USER and PASS.
Last edited by Scott; 03-02-2010 at 06:31 PM..
Reason: Code tags
Hi all
has anyone got a code snippet of how i can ftp a file automatically by running a simple bash script. I have 4 things
IP address xx.xxx.xx.xx
username=satnam
domain = app.sample.ftp
password= satnam_password
Im not sure how to pull these all together to ftp a file?
any ideas? (1 Reply)
Hi all,
I am trying to run a FTP script which would go to diff servers in the environment and get the request logs and I am getting the following error, Please let me know.
server1.ou.st.com
(to) usage: open host-name
Not connected.
Local directory now /home/pk960/logs
Not connected.... (0 Replies)
Hey - thanks for reading this!
I just finished my first bash script that will handle daily ftp downloads for me, but I'm certain it could use some improvement.
Its job is to download IDX data from an ftp host (which is 24 hours behind) and I download a mix of *.txt.gz file and .tar files.
... (2 Replies)
Hello everyone,
sorry for the title, most of you must getting sick of reading something like
this, but I haven't found a solution, although I found many threads according
to it.
I'm working on a bash script that connects to a network printer with ftp
where I want to upload a pdf created... (3 Replies)
Hello kind programmers :)
I am a newbie and running into an error "line 28: syntax error: unexpected end of file" on the script shown below. Any help would be greatly appreciated. Thanks!
#! /bin/bash
if ($#argv <3) then
echo 'Usage get_modis_snow '
echo 'ftp script for MYD10A2... (2 Replies)
Hi ,
I was writing a bash script of ftp to transfer the files , rite now I am considering my local server as ftp server and through keygen -ssh I ahve generated the public & private keys , the private key I have kept in the folder named scripts where my all scripts resides and the public key... (6 Replies)
Hello,
I'm trying to make a bash script that send me e-mail if there is any new file in my ftp folder.
cat inotify.sh
#!/bin/sh
/usr/bin/inotifywait -e create \
-mrq /home/mrowcp | while read line; do
echo -n "$line " >> /var/log/inotify.log
echo `date | cut -d " " -f1-4` >>... (3 Replies)
Hello, I have a bash script used to telnet and transfer files which works great. Trying to FTP to a box that does not support telnet. Been told to use ssh to the user@someIPaddress. I can log in manually but can't seem to make this script work. And help would be appreciated. #!/bin/bash
HOST=ssh... (17 Replies)
Hi guys,
I recently managed to write up my working script, but now I have a problem.
If the file isn't there in the remote server, my actual script jumps it and all ok, but I need something like this:
Search file -> if there, then download -> if not, download next file in the list.
Any... (7 Replies)
Discussion started by: virtus96
7 Replies
LEARN ABOUT NETBSD
rpc_clnt_auth
RPC_CLNT_AUTH(3) BSD Library Functions Manual RPC_CLNT_AUTH(3)NAME
auth_destroy, authnone_create, authsys_create, authsys_create_default -- library routines for client side remote procedure call authentica-
tion
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <rpc/rpc.h>
void
auth_destroy(AUTH *auth);
AUTH *
authnone_create(void);
AUTH *
authsys_create(const char *host, const uid_t uid, const gid_t gid, const int len, const gid_t *aup_gids);
AUTH *
authsys_create_default(void);
DESCRIPTION
These routines are part of the RPC library that allows C language programs to make procedure calls on other machines across the network, with
desired authentication.
These routines are normally called after creating the CLIENT handle. The cl_auth field of the CLIENT structure should be initialized by the
AUTH structure returned by some of the following routines. The client's authentication information is passed to the server when the RPC call
is made.
Only the NULL and the SYS style of authentication is discussed here.
ROUTINES
auth_destroy() A function macro that destroys the authentication information associated with auth. Destruction usually involves
deallocation of private data structures. The use of auth() is undefined after calling auth_destroy().
authnone_create() Create and return an RPC authentication handle that passes nonusable authentication information with each remote
procedure call. This is the default authentication used by RPC.
authsys_create() Create and return an RPC authentication handle that contains AUTH_SYS authentication information. The parameter
host is the name of the machine on which the information was created; uid is the user's user ID; gid is the user's
current group ID; len and aup_gids refer to a counted array of groups to which the user belongs.
authsys_create_default() Call authsys_create() with the appropriate parameters.
SEE ALSO rpc(3), rpc_clnt_calls(3), rpc_clnt_create(3)BSD May 7, 1993 BSD