Sponsored Content
Full Discussion: sftp with proxycommand -AIX
Top Forums UNIX for Advanced & Expert Users sftp with proxycommand -AIX Post 302542446 by sagar_un on Wednesday 27th of July 2011 02:55:04 PM
Old 07-27-2011
sftp with proxycommand -AIX

Hi ,
I am trying to do an sftp using below command -AIX

Code:
sftp -oProxyCommand='/usr/bin/ksh -v -xproxyname:portno remotehostname remoteport' user@remotehostname:port

But I getting error message:
Code:
remotehost: bad option(s)
ssh_exchange_identification: Connection closed by remote host
Connection closed

Regards,
Sagar

Last edited by pludi; 07-27-2011 at 06:03 PM..
 

10 More Discussions You Might Find Interesting

1. AIX

SFTP script from AIX to Windows 2003

Hello everyone! I searched high and low in the forum's on this site before I started a thread, but couldn't quite find my resolution. Even though I got good hits on SFTP. I'm working on a script on my AIX 5.3 system to sftp (OpenSSH) files to another remote site that is running "Secure FTP"... (2 Replies)
Discussion started by: Exit42
2 Replies

2. AIX

[Q] secureftp (sftp) on AIX 4.3.3

Hi, all I am using non-secure ftp on AIX 4.3.3. But, I am facing IT audit, have to install secureftp on AIX 4.3.3 ftp server. Most fo all, I have no experience secureftp. sftp is equl to ssh ? I am searching "sftp, secureftp" but it was difficult to find binary code to install, but... (1 Reply)
Discussion started by: wolfhyun
1 Replies

3. AIX

SFTP on AIX 5.2.2

Hello, On my test host I've installed the SSH soft. Created the Public & Private key for sftp and all works fine. Now I want to modify my scheduled scripts, that runs in batch mode, to work automatically. How can I bypass the Passphrase request when I start my sftp connection. I modified the... (1 Reply)
Discussion started by: Fima62
1 Replies

4. AIX

Problems with SSH/SFTP between AIX and Mainframe

Hi, I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Discussion started by: sambeet
1 Replies

5. Shell Programming and Scripting

Net::SFTP problem AIX

I am having an issue while trying to run the Net::SFTP module. I have been able to install this on several machines before but have never had this problem. When I am running a simple script to test the sftp it dies but does not trigger the print statement for my error. The last line is in red. ... (0 Replies)
Discussion started by: kofs79
0 Replies

6. Emergency UNIX and Linux Support

SFTP issue when connecting from MVS to AIX

Dear all, I was given the ID_DSA.pub by an MVS user, which I placed in the appropriate user's authorized_keys file. When the user tris to SFTP from their side to the AIX box, the following error is got: error: debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY ... (6 Replies)
Discussion started by: ggayathri
6 Replies

7. AIX

AIX SFTP through MS ISA proxy

Dear all, I have some files to move to an SFTP server that someone else is providing on the public internet. The source for the file is on AIX, and although I have the sftp client installed, I'm stuck. The process would be automated (probably ksh script or perhaps as a C executable) so there... (2 Replies)
Discussion started by: rbatte1
2 Replies

8. Shell Programming and Scripting

SFTP from one AIX to another AIX

All, Is there a possibility to sftp a file from one AIX server to another AIX server with password? I do not want to use public or private key option as we would have required privileges for creating the keys. So Please provide the needful with a sample script. Thanks in Advance, ... (0 Replies)
Discussion started by: kuppu.uncle
0 Replies

9. Red Hat

ProxyCommand with different keys

Hello all, simple network problem: host1 -> jumphost -> host2 alias ss='ssh -t -q user2@jumphost -q -t -t ssh -l user2 ' ss host2 works like a charm but scp and scripts don't cooperate very much (normal). My ssh key (user1) is already deployed on jumphost but NOT on host2 as i'm... (0 Replies)
Discussion started by: maverick72
0 Replies

10. AIX

Limitation for SFTP on AIX number of sessions

Hello. I am using AIX 6 and If wish to receive more than 500 files via SFTP, I get some time out errors. Could you please advise where is the limit for number of concurrent transfers setup in AIX Box or what is the limit and can that be changed? Many Thanks (3 Replies)
Discussion started by: panchpan
3 Replies
IRSEND(1)								FSF								 IRSEND(1)

NAME
irsend - basic LIRC program to send infra-red commands SYNOPSIS
irsend [options] DIRECTIVE REMOTE CODE [CODE...] DESCRIPTION
Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) commands. This is intended for remote control of electronic devices such as TV boxes, HiFi sets, etc. DIRECTIVE can be: SEND_ONCE - send CODE [CODE ...] once SEND_START - start repeating CODE SEND_STOP - stop repeating CODE LIST - list configured remote items SET_TRANSMITTERS - set transmitters NUM [NUM ...] SIMULATE - simulate IR event REMOTE is the name of a remote, as described in the lircd configuration file. CODE is the name of a remote control key of REMOTE, as it appears in the lircd configuration file. NUM is the transmitter number of the hardware device. For the LIST DIRECTIVE, REMOTE and/or CODE can be empty: LIST "" "" - list all configured remote names LIST REMOTE "" - list all codes of REMOTE LIST REMOTE CODE - list only CODE of REMOTE The SIMULATE command only works if it has been explicitly enabled in lircd. -h --help display usage summary -v --version display version -d --device use given lircd socket [/var/run/lirc/lircd] -a --address=host[:port] connect to lircd at this address -# --count=n send command n times EXAMPLES
irsend LIST DenonTuner "" irsend SEND_ONCE DenonTuner PROG-SCAN irsend SEND_ONCE OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3 irsend SEND_STOP OnkyoAmpli VOL-DOWN irsend SET_TRANSMITTERS 1 irsend SET_TRANSMITTERS 1 3 4 irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S" FILES
/etc/lirc/lircd.conf Default lircd configuration file. It should contain all the remotes, their infra-red codes and the corresponding timing and wave- form details. DIAGNOSTICS
If lircd is not running (or /var/run/lirc/lircd lacks write permissions) irsend aborts with the following diagnostics: "irsend: could not connect to socket" "irsend: Connection refused" (or "Permission denied"). SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. lircd(8), mode2(1), smode2(1), xmode2(1), irrecord(1), irw(1), http://www.lirc.org. irsend 0.8.7pre1 May 2010 IRSEND(1)
All times are GMT -4. The time now is 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy