Sponsored Content
Full Discussion: SFTP problem in HP UX
Operating Systems HP-UX SFTP problem in HP UX Post 302939846 by makauser on Monday 30th of March 2015 08:21:28 AM
Old 03-30-2015
SFTP problem in HP UX

Dear All,

Previously we push file using ftp in outside node. Now we try sftp, but connection is not established. I am provide you the debug log. Any idea to solve the issue?

Code:
 tabs@tabsdb02[TABS2]:/ccbs/users/tabs$ sftp -vvv e132079@205.140.6.188
  OpenSSH_5.8p1+sftpfilecontrol-v1.3-hpn13v7, OpenSSL 0.9.8q 2 Dec 2010
  HP-UX Secure Shell-A.05.80.004, HP-UX Secure Shell version
  debug1: Reading configuration data /opt/ssh/etc/ssh_config
  debug3: RNG is ready, skipping seeding
  debug2: ssh_connect: needpriv 0
  debug1: Connecting to 205.140.6.188 [205.140.6.188] port 22.
  debug1: Connection established.
  debug3: Incorrect RSA1 identifier
  debug3: Could not load "/ccbs/users/tabs/.ssh/id_rsa" as a RSA1 public key
  debug2: key_type_from_name: unknown key type '-----BEGIN'
  debug3: key_read: missing keytype
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug3: key_read: missing whitespace
  debug2: key_type_from_name: unknown key type '-----END'
  debug3: key_read: missing keytype
  debug1: identity file /ccbs/users/tabs/.ssh/id_rsa type 1
  debug1: identity file /ccbs/users/tabs/.ssh/id_rsa-cert type -1
  debug1: identity file /ccbs/users/tabs/.ssh/id_dsa type -1
  debug1: identity file /ccbs/users/tabs/.ssh/id_dsa-cert type -1
  debug1: identity file /ccbs/users/tabs/.ssh/id_ecdsa type -1
  debug1: identity file /ccbs/users/tabs/.ssh/id_ecdsa-cert type -1
  debug1: Remote protocol version 2.0, remote software version ReflectionForSecure                                                                                        IT_6.1.0.16
  debug1: no match: ReflectionForSecureIT_6.1.0.16
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_5.8p1+sftpfilecontrol-v1.3-hpn13v7
  debug2: fd 4 setting O_NONBLOCK
  debug3: load_hostkeys: loading entries for host "205.140.6.188" from file "/ccbs                                                                                        /users/tabs/.ssh/known_hosts"
  debug3: load_hostkeys: loaded 0 keys
  debug3: RNG is ready, skipping seeding
  debug1: SSH2_MSG_KEXINIT sent
  Connection closed by 205.140.6.188
  Connection closed

With Best Regards,
Md. Abdullah-Al Kauser
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

sftp problem

Hi, I'm in the process of writting some scripts using sftp2 on a HP UX 11.11 machine. I've found that when I do an 'ls' command , even when in batch mode, it asks for me to 'press any key to continue or q to quit' after a screenful of data. Of course in batch mode this cause the script to hang.... (0 Replies)
Discussion started by: sudojo
0 Replies

2. Shell Programming and Scripting

sftp problem

Hi, I have a folder ABC. I have sftp executing from this folder successfully to other servers using keys which avoids passowrd prompt. The permissions for the folder are only for user.ie drwx------ But i need another id to access my folder and execute the scripts. So i changed the access... (2 Replies)
Discussion started by: borncrazy
2 Replies

3. Shell Programming and Scripting

sftp problem

Hi I need to perform the following task using shell script. establishing a sftp connection to a server. then get the latest file from there to our own server. But i am not finding ny suitable command in sftp console to get the latest file. can anyone help me in this reagrd. if ny other... (1 Reply)
Discussion started by: UBD
1 Replies

4. Shell Programming and Scripting

problem with SFTP

Hi, I am doing a FTP from a Unix host to a windows host. I have generated the key in my unix server and added them in the destination host. In the Destination they changed the ip address now i am not able to connect. I can see it is reaching till that server but i am not receiving that server... (2 Replies)
Discussion started by: Krrishv
2 Replies

5. UNIX for Advanced & Expert Users

Problem using sftp

Hi my sftp batch run connect to the server and transfer the txt file to target server. but when I run again same batch with same file it give error. Any idea about this error..... regards Jamil edit by bakunin: please do not "hijack" threads. That is: if you have a genuine... (1 Reply)
Discussion started by: Jamil Qadir
1 Replies

6. Shell Programming and Scripting

Problem with SFTP...

Hi, Here is my problem::confused: Daily my ETL process will create 4 (Four) Flatfiles in unix box. Upon creation of the flatfiles, I need to do "SFTP" the files to a "Remote Server". Sometimes While doing SFTP, the files get trucated due to it's size. Now I would like to design a Korn... (3 Replies)
Discussion started by: npk2210
3 Replies

7. Shell Programming and Scripting

sftp problem

I have written a samll sftp script abc.sh as below sftp user@remote-server <<EOF lcd /home/gopi cd /home/raju get COA exit EOF Its working. But when i rin the script, it gives the acknowledgement like , sftp> lcd /home/gopi sftp> cd /home/raju sftp> get COA Fetching... (3 Replies)
Discussion started by: Gopal_Engg
3 Replies

8. Shell Programming and Scripting

Problem using sftp

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 like sftp user@192.168.56.10 sftp> test.sh ---execute for remote server not for local server. Please help me for this issue (2 Replies)
Discussion started by: SAUD PASHA
2 Replies

9. Shell Programming and Scripting

Problem with sftp

I have an sftp script which is uploading file into a directory which is not specified wth the cd command . For example: sftp sftpserver >>lcd /abc >>cd /tmp/bef >> put /abc/abc.txt /tmp/bef/abc.txt Uploading file from /abc/abc.txt to /xyz/wxy/tmp/bef/abc.txt >>quit The file is getting... (2 Replies)
Discussion started by: NP1
2 Replies

10. UNIX for Beginners Questions & Answers

SFTP problem

i have a problem no a dream :) i have a list and i want to do : cat lista_olo for file in `cat list` do sftp myuser@myip << EOF ls -l mydir/$file/ EOF but there is an error . Syntax error at line 11 : `<' is not matched How can i do ? Regards. (1 Reply)
Discussion started by: Francesco_IT
1 Replies
MSVA-PERL(1)						User Contributed Perl Documentation					      MSVA-PERL(1)

NAME
msva-perl - Perl implementation of a Monkeysphere Validation Agent SYNOPSIS
msva-perl [ COMMAND [ ARGS ... ] ] ABSTRACT
msva-perl provides a Perl implementation of the Monkeysphere Validation Agent, a certificate validation service. INTRODUCTION
The Monkeysphere Validation Agent offers a local service for tools to validate certificates (both X.509 and OpenPGP) and other public keys. Clients of the validation agent query it with a public key carrier (a raw public key, or some flavor of certificate), the supposed name of the remote peer offering the pubkey, and the context in which the validation check is relevant (e.g. ssh, https, etc). The validation agent then tells the client whether it was able to successfully validate the peer's use of the public key in the given context. USAGE
Launched with no arguments, msva-perl simply runs and listens forever. Launched with arguments, it sets up a listener, spawns a subprocess using the supplied command and arguments, but with the MONKEYSPHERE_VALIDATION_AGENT_SOCKET environment variable set to refer to its listener. When the subprocess terminates, msva-perl tears down the listener and exits as well, returning the same value as the subprocess. This is a similar invocation pattern to that of ssh-agent(1). ENVIRONMENT VARIABLES
msva-perl is configured by means of environment variables. MSVA_LOG_LEVEL msva-perl logs messages about its operation to stderr. MSVA_LOG_LEVEL controls its verbosity, and should be one of (in increasing verbosity): silent, quiet, fatal, error, info, verbose, debug, debug1, debug2, debug3. Default is 'error'. MSVA_ALLOWED_USERS If your system is capable of it, msva-perl tries to figure out the owner of the connecting client. If MSVA_ALLOWED_USERS is unset, msva-perl will only permit connections from the user msva is running as. If you set MSVA_ALLOWED_USERS, msva-perl will treat it as a list of local users (by name or user ID) who are allowed to connect. MSVA_PORT msva-perl listens on a local TCP socket to facilitate access. You can choose what port to bind to by setting MSVA_PORT. Default is to bind on an arbitrary open port. MSVA_KEYSERVER msva-perl will request information from OpenPGP keyservers. Set MSVA_KEYSERVER to declare the keyserver you want it to check with. If this variable is blank or unset, and your gpg.conf contains a keyserver declaration, it will use the GnuPG configuration. Failing that, the default is 'hkp://pool.sks-keyservers.net'. MSVA_KEYSERVER_POLICY msva-perl must decide when to check with keyservers (for new keys, revocation certificates, new certifications, etc). There are three possible options: 'always' means to check with the keyserver on every query it receives. 'never' means to never check with a keyserver. 'unlessvalid' will only check with the keyserver on a specific query if no keys are already locally known to be valid for the requested peer. Default is 'unlessvalid'. MSVA_MONITOR_CHANGES Under graphical environments such as X11, msva-perl is capable of monitoring for changes in its underlying code and can prompt the user to restart the daemon when some of the underlying code changes. Setting this environmnt variable to 'true' enables this monitoring and prompting behavior. Default is 'false'. COMMUNICATION PROTOCOL DETAILS
Communications with the Monkeysphere Validation Agent are in the form of JSON requests over plain HTTP. Responses from the agent are also JSON objects. For details on the structure of the requests and responses, please see http://web.monkeysphere.info/validation-agent/protocol SECURITY CONSIDERATIONS
msva-perl deliberately binds to the IPv4 loopback (on 127.0.0.1) so that remote users do not get access to the daemon. On systems (like Linux) which report ownership of TCP sockets in /proc/net/tcp, msva-perl will refuse access from random users (see MSVA_ALLOWED_USERS above). SEE ALSO
monkeysphere(1), monkeysphere(7), ssh-agent(1) BUGS AND FEEDBACK
Bugs or feature requests for msva-perl should be filed with the Monkeysphere project's bug tracker at https://labs.riseup.net/code/projects/monkeysphere/issues/ AUTHORS AND CONTRIBUTORS
Daniel Kahn Gillmor <dkg@fifthhorseman.net<gt> The Monkeysphere Team http://web.monkeysphere.info/ COPYRIGHT AND LICENSE
Copyright AX Daniel Kahn Gillmor and others from the Monkeysphere team. msva-perl is free software, distributed under the GNU Public License, version 3 or later. perl v5.14.2 2013-02-08 MSVA-PERL(1)
All times are GMT -4. The time now is 10:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy