07-18-2012
how to execute a program present on another server using SFTP in perl
Hi,
I want to execute a program which is present on another server.
i want to use SFTP in perl, is it possible? how ?
thanks.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello all
how can i run the java command that can eccept N numbers of args for example :
java -cp .;foo.jar myApp 1 "ww"
or
java -cp .;foo.jar myApp 1 2 3 "ww"
or
java -cp .;foo.jar myApp "args1" "args2" "args3"
Thanks (1 Reply)
Discussion started by: umen
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
3. Shell Programming and Scripting
I'm able to connect to the remote server (server_name). But when i'm transferring the files, its getting transferred. But the file is not there in the remote location.
I tried with a zero byte and 5 byte file
sftp6 -P <port-no> --password=file:///<file having the pwd>... (1 Reply)
Discussion started by: help_scr_seeker
1 Replies
4. Shell Programming and Scripting
Hi,
I am working on a sever A.
I want to write a perl script to execute a shell script persent on the server B.
please help me in this.
thanks in advance. (3 Replies)
Discussion started by: anandgodse
3 Replies
5. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
6. 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
7. Solaris
Hi Guys,
I use a script sdcmdeploy.ksh to deploy java application to respective dev/test environment. This script is being executed on SunOS. These apps are weblogic apps & the script internally calls weblogic deploy script to deploy application to weblogic cluster.
But at this point it... (2 Replies)
Discussion started by: raj100
2 Replies
8. Shell Programming and Scripting
I have written the following shell script
#!/bin/bash
file="/home/CSV/data.csv"
badfile="/home/CSV/bad/"
while IFS= read -r line
do
num_fields=`echo "$line" | awk -F'|' '{print NF}'`
field1=`echo "$line" | awk -F'|' '{print $1}'`
echo $num_fields
echo $field1
done <"$file"
the code is... (3 Replies)
Discussion started by: Tomar
3 Replies
9. UNIX for Beginners Questions & Answers
I am trying to rsync files from NodeA to NodeB.
Using the below command.
/usr/bin/rsync -v -a -e "ssh" --rsync-path="sudo -u msd rsync" /home/ansible/templates/app/Sprint6/webapps eric@NodeB:/opt/msdp/ca/iam_cac
I can only ssh into NodeB as eric user but I want files placed as msd user.... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
LEARN ABOUT DEBIAN
gesftpserver
gesftpserver(8) System Manager's Manual gesftpserver(8)
NAME
gesftpserver - Green End SFTP Server
SYNOPSIS
/usr/lib/gesftpserver [OPTIONS]
DESCRIPTION
gesftpserver implements the SFTP protocol. It is normally run as an SSH subsystem but can be run in other contexts if necessary.
CONFIGURING OPENSSH
By default, OpenSSH will use its native SFTP server in response to requests for the SFTP subsystem. To use gesftpserver instead, add a
suitable Subsystem command to sshd_config (and remove the existing one if present). For example:
Subsystem sftp /usr/lib/gesftpserver
IMPLEMENTATION DETAILS
gesftpserver supports up to version 6 of the SFTP protocol and the following extensions:
newline
Reports the server's newline convention to the client.
space-available
Equivalent to df(1).
supported
v5 capability details
supported2
v6 capability details
text-seek
Used for resuming text file downloads.
vendor-id
Reports server name and version to client. gesftpserver reports a vendor of "Green End" and a server name of "Green End SFTP
Server".
versions
Lists available versions.
version-select
Select version.
posix-rename@openssh.org
Provides POSIX rename semantics even in pre-v5 SFTP.
SEE ALSO
sshd_config(5)
gesftpserver(8)