Sponsored Content
Top Forums Shell Programming and Scripting Shell : sftp autologin not working ... Post 302786279 by hergp on Wednesday 27th of March 2013 07:05:36 AM
Old 03-27-2013
The here document is completely prepared, before "lftp" is started. So it cannot react on lftp's output.

Another hint would be to try "expect". It is a tool to interact with programs and react on their outputs, often used to control telnet/ssh/ftp/...-sessions.
This User Gave Thanks to hergp For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sftp/scp autologin

Ive have 2 unix machines i need to transfer files from one to the other. Im trying to use either sftp or scp as ftp is out of the question. Ive created the RSA key on one machine and copied it across but im still prompted for a password. Assume this is due to the fact that im not using the same ID... (8 Replies)
Discussion started by: devid
8 Replies

2. Shell Programming and Scripting

SFTP not working in cron

Hi, I have a simple script that is trying to put a file that resides on a local machine to a remote machine. It runs fine manually but does not complete when scheduling to run in cron. Here is what the script looks like. Any idea what I am doing wrong here? #!/bin/ksh cd /path sftp... (4 Replies)
Discussion started by: ewilson0265
4 Replies

3. UNIX for Dummies Questions & Answers

sftp not working as cronjob

hi, I have a script that will automatically login into a server and get a file. it is working fine if i run it on a command line. however, when i tried to run it as a cron job, it is not working. what should i do? set timeout -1 spawn /usr/bin/sftp user1@server1 match_max 100000 expect... (3 Replies)
Discussion started by: tungaw2004
3 Replies

4. Shell Programming and Scripting

Automate SFTP is not working

Hi All:cool:, i tried to automate SFTP process after passwordless authendication. Stil i am getting error... Can anyone help.... ------------------- sample code below ------------------- sftp -v $mdskk@100.4.4.75 << EOF cd /data mget *.tar.gz bye EOF... (2 Replies)
Discussion started by: senthil_seera
2 Replies

5. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

6. Web Development

Autologin Shell

Hello friends, I'm working on portal for Auto login servers without asking for credentials. Credentials are stored in database/file. Script fetches credentials from db/file and autologin the server. I have installed AjaxTerm for it but don't know exactly how to login remote servers using it. ... (0 Replies)
Discussion started by: nrbhole
0 Replies

7. Solaris

Why is sftp working but ftp not

I am not very familiar with the use of FTP, and trying to run it I found out that standard "ftp" is not working" but "sftp" is. If sftp is allowed will that block ftp ? and if so where is this set ? I thought there is no relationship, is that right ? If so look here: inetadm | grep ftp enabled... (11 Replies)
Discussion started by: manni2
11 Replies

8. Shell Programming and Scripting

sftp autologin is working but ...

Dears, I am new to linux scripting and I was look for a way to auto login to a server using sftp to download a file. I found one and it is working fine. But i don't know the meaning of <<EOF in the code. Any one explain it to me: #!/bin/sh HOST=yourservername USER=yourusername ... (1 Reply)
Discussion started by: torabi
1 Replies

9. Shell Programming and Scripting

Sftp commands not working in shell script

hi, i am having 2 linux boxes as source and 1 linux box as destination.i want to create a shell script containing code to transfer a csv file from either of the 2 linux boxes (file will be present in just one box, i need to check both the boxes to see which box has the csv file) to 3rd linux box... (1 Reply)
Discussion started by: linuxlearn2013
1 Replies

10. Red Hat

Sftp command not working

What is wrong with this sftp command being used in one line: sftp /Data/SEmisstn.gz lsmsadit@144.226.213.23:/test/lsms.SEmisstn.gz The ssh key is already setup. The node is valid and i can ssh to it as well as do a manual step by step sftp to the server. However, for some odd reason, i... (10 Replies)
Discussion started by: mrn6430
10 Replies
envy24control(1)														  envy24control(1)

NAME
envy24control - GUI control tool for Envy24 (ice1712) based soundcards, under ALSA. SYNOPSIS
envy24control [-c card-number] [-D control-name] [-o 0-num DACs max 8] [-i 0-num ADCs max 8] [-p 0-8] [-s 0-2] [-f <profiles file name>] [-v] [<profile number>|<profile name>] [-m midi-channel] [-M] [-w window-width] [-t 0-9] DESCRIPTION
envy24control allows control of the digital mixer, channel gains and other hardware settings for sound cards based on the ice1712 chipset (Midiman Delta series, Terratec EWS and EWX series). It also displays a level meter for each input and output channel. INVOKING
envy24control [-c card-number] [-D control-name] [-o 0-num DACs max 8] [-i 0-num ADCs max 8] [-p 0-8] [-s 0-2] [-f <profiles file name>] [-v] [<profile number>|<profile name>] [-m midi-channel] [-M] [-w window-width] [-t 0-9] If no control-name is given, then the first sound card is used. Options -c card-number Use the card specified by card-number rather than the first card. This is equivalent with -Dhw:n option where n is the card number. -D control-name Use the card specified by control-name rather than the first card, normally this will be of the form hw:n where n is the sound card number (zero-based). This is only needed if you have more than one Envy24-based card or if your Envy24 card is not configured as the first card in your ALSA driver setup. -o outputs Limit number of analog line outputs to display. Default is the number of DACs in the driver specification. Maximum is 8. The num- ber of analog output lines can only be reduced from the available number of output lines. -i inputs Limit number of analog line inputs to display. Default is the number of ADCs in the driver specification. Maximum is 8. The number of analog input lines can only be reduced from the available number of input lines. -p pcm outputs Limit number of PCM outputs to display. Default is 8. -s spdif inputs/outputs Limit number of SPDIF inputs/outputs to display. Default is 2. -f name and path of the profiles file name. From/to this file will envy24control read/write the alsactl settings. If is not given DEFAULT_PROFILERC or for restore if DEFAULT_PROFILERC doesn't exists SYS_PROFILERC will be used. -v view spdif playback channels in the mixer. It is not possible to manage something (muting, volume levels). It is only to view the levelmeters. Default is no view of spdif playback channels in the mixer. -m midi-channel Use MIDI controller values to control the Faders in the mixer view. The application will react to controllers on channel midi-chan- nel and send controllers on this channel when the user moves the GUI sliders. -M Use an enhanced mapping from midi controller values to db sliders. -w window-width Specify the initial width of the envy24control window. Using window-width in the range 0-20 specifies approx number of mixer chan- nels visible. Values >20 are interpreted as screen pixels. -t tall-equal mixer heights Using -t 1 enlarges the channel mixers to the same height as the digital mixer. With values >1 the height of all mixers is increased in stages. -t 0 is the default, set for minimum window height. SEE ALSO
alsamixer(1), amixer(1), gamix(1) AUTHOR
envy24control is by Jaroslav Kysela <perex@perex.cz> This document is by James Tappin <james@xena.uklinux.net>. Updated by Dirk Kalis <dirk.kalis@t-online.de>. Options-w and -t added Alan Horstmann <gineera@aspect135.co.uk> 30 July 2005 envy24control(1)
All times are GMT -4. The time now is 12:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy