hi,
i have an existing ftp script that needs to be translated to SFTP so i have to use expect script to automate the login to the remote server.
Now im facing with a problem becaise i have at least 50 files to be renamed ont he remote server. It's a hassle to hardcode every single command... (1 Reply)
Hi All,
I am using a expect script to run a shell script on remote server, the code is as follows. But the problem is that it executes only first command, and hangs it doesn't run the next commands.
spawn ssh $uid@$host
expect "password:"
send "$password\r"
expect "*\r"
send... (2 Replies)
hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Hi
I'm trying to run a script " abc.sh" which triggers "use.sh" .
abc.sh is nothing but a "expect" script which provides username and password automatically to the use.sh script.
Please find below the scripts:
#abc.sh
#!/usr/bin/expect -f
exec /root/use.sh
expect "*name*"
send... (1 Reply)
Hi,
Am very new to expect scripting..
Can You please suggest me how to call an expect script inside another expect script..
I tried with
spawn /usr/bin/ksh
send "expect main.exp\r"
expect $root_prompt
and
spawn /usr/bin/ksh
send "main.exp\r"
expect $root_prompt
Both... (1 Reply)
Shell Scipt: temp.sh
su - <$username>
expect pass.exp
Expect script: pass.exp
#!/usr/bin/expect -f
# Login
#######################
expect "Password: " send "<$password>\r"
it comes up with Password: but doesnt take password passed throguh file. (2 Replies)
I have an expect script called remote that I want to call from inside my expect script called sudoers.push, here is the code that is causing me issues:
set REMOTE "/root/scripts/remote"
...
log_user 1
send_user "Executing remote script as $user...\n"
send_user "Command to execute is: $REMOTE... (1 Reply)
I am trying to execute expect command inside by small bash script to login into servers using key authentication method. My script is as follows:
#!/bin/bash
HOST=$1
/usr/bin/expect -c "
spawn ssh -i /root/.ssh/id_rsa root@$HOST
expect -exact "Enter... (3 Replies)
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies
LEARN ABOUT DEBIAN
transmission-remote-cli
transmission-remote-cli(1) transmission-remote-cli transmission-remote-cli(1)NAME
transmission-remote-cli - a console client for the Transmission BitTorrent client
SYNOPSIS
transmission-remote-cli [options] [filename-or-URL]
DESCRIPTION
transmission-remote-cli is a curses interface for the daemon of the BitTorrent client Transmission.
OPTIONS --version
Show version number and exit
-h --help
Show usage information and a list of options
-c CONNECTION --connect=CONNECTION
Point to the server. CONNECTION must match the following pattern:
[username:password@]host[:port][path]
Default: localhost:9091
-s --ssl
Use SSL to connect to the server.
Default: don't use SSL
--create-config
Create configuration file with default values.
NOTE: A config file won't be created unless you provide this option at least once. After that, it is rewritten whenever transmis-
sion-remote-cli exits.
-f CONFIGFILE --config=CONFIGFILE
Set path to configuration file.
Default: ~/.config/transmission-remote-cli/settings.cfg
-n --netrc
Get authentication info from ~/.netrc.
-- OPTIONS
Use the known server connection to pass OPTIONS on to transmission-remote.
FILES
transmission-remote-cli overwrites the configuration file on exit. Keep that in mind if you edit it manually.
SEE ALSO transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1).
April 22, 2012 transmission-remote-cli(1)