06-18-2013
Thank you so much for your reply Just Ice
I actually did see that script when I searched and tried it. Unfortunately it's just ftp, I was trying to do that with sFTP and it would get stuck in interactive mode and wouldn't connect. I couldn't find anything solid regarding that so that's why I asked. Thanks again for your help. I appreciate everyones input, as a newb that I am
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been trying to implement the following shell script --
sftp to remote server
get list of files in the directory
sftp get the most recent listed file
exit
This script will be scheduled to be executed everyday using CRON or CONTROL-M and the need is to have absolutely no human... (7 Replies)
Discussion started by: toobrown1
7 Replies
2. Shell Programming and Scripting
How to automate sftp with out using expect script?
My batch file has the password but it is not taking. Please see below.
I want to use this sftp connection in a loop for pushing new files in a directory one at a time. Hence I can not use an expect script.
bash-2.05$... (5 Replies)
Discussion started by: Tuxidow
5 Replies
3. Programming
Hi,
I have 1. lappy
2. server A
3. server B
Now, what i need is to run a command from lappy that will sftp a file from server A to server B.
Please guide me to achieve this.
-akash (1 Reply)
Discussion started by: akash.mahakode
1 Replies
4. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
5. Shell Programming and Scripting
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp... (3 Replies)
Discussion started by: SAUD PASHA
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it).
In order to try, I type in the command manually:
sftp @ > << EOF
>cd
>ls -l
>EOF
>Connecting to
@servername password:
... (3 Replies)
Discussion started by: warmboy610
3 Replies
7. HP-UX
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies
8. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
9. Shell Programming and Scripting
Hi there,
I'm trying to run a script remotely on a server in a particular directory named after hostname which already exists, my login session gets killed as soon as I run the below command. Not sure what is wrong, is there a better way to do it ?
Note: I can also use nohup command to run... (14 Replies)
Discussion started by: mbak
14 Replies
LEARN ABOUT MOJAVE
bdconfig
bdconfig(1M) System Administration Commands bdconfig(1M)
NAME
bdconfig - configures the bd (buttons and dials) stream
SYNOPSIS
bdconfig [startup] [off] [on] [term] [status] [verbose]
DESCRIPTION
The bdconfig utility is responsible for configuring the autopush facility and defining to the system what serial device to use for the bd
stream.
OPTIONS
If no options are given, then an interactive mode is assumed. In this mode the current status is presented along with this usage line, and
a series of interactive questions asked to determine the user's desires.
Root privilege is required to change the configuration. The status option does not require root privilege. bdconfig can be installed as a
setuid root program.
The non-interactive options below can be given in any order.
term Specify to the system the serial device for bd use. This option implies the on option unless the off option is present.
iff Reconfigure the configured term for tty use.
on Reconfigure the configured term for bd use. If term has not been previously specified, interactive questions are asked to
determine the user's desires.
startup Configure as was last configured before the system went down. This option is used by the startup script, and precludes the
use of the
on, off, and term options. This option implies non-interactive mode.
status Emit the current configuration in terms of the words used as options: off, on, /dev/term/a, /dev/term/b, and so forth. This
option implies non interactive mode.
verbose bdconfig describes what it finds and what it is doing.
EXIT STATUS
The bdconfig utility returns 0 on success, 1 on general error, and 2 on argument error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdialh |
+-----------------------------+-----------------------------+
SEE ALSO
autopush(1M), attributes(5), x_buttontest(6), x_dialtest(6), bd(7M), sad(7D), streamio(7I)
NOTES
All bdconfig does is configure the AUTOPUSH facility. bdconfig does not actually manipulate the serial port or stream in any way. Only the
first open of a dismantled stream will see the effects of a previously run bdconfig.
The bdconfig utility is silent except for error messages unless:
a) invoked with no args: status / usage line emitted
b) interactive modes are invoked as described above
c) the verbose option is used
BUGS
The interface does not support more than one dialbox and one buttonbox, both of which must be on the same serial device.
There should be a library routine to read, parse, and validate records in the iu.ap file, so that bdconfig could return to the appropriate
record in iu.ap as the default configuration.
SunOS 5.10 18 May 1993 bdconfig(1M)