07-28-2011
I forgot to add - make sure you have sufficient privileges, like owning the proper files, like the ones in /var/run, etc, just as well as /etc/hosts.allow
and /etc/hosts.deny do not prevent the connection, that is, some general connectivity problem.
Other than that, go to your user's home folder and find the (.ssh)/known_hosts file, delete the entry for this particular host, and then retry the connection.
Further troubleshooting tips: invoke the command with verbose debug SSH flags, like -vvv, for example, as I'm not aware of your version of SSH (and vendor).
10 More Discussions You Might Find Interesting
1. AIX
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
net::cli::interact::transport::ssh
Net::CLI::Interact::Transport::SSH(3pm) User Contributed Perl Documentation Net::CLI::Interact::Transport::SSH(3pm)
NAME
Net::CLI::Interact::Transport::SSH - SSH based CLI connection
VERSION
version 1.121640
DECRIPTION
This module provides a wrapped instance of an SSH client for use by Net::CLI::Interact.
INTERFACE
app
On Windows platforms you must download the "plink.exe" program, and pass its location to the library in this parameter. On other platforms,
this defaults to "ssh" (openssh).
runtime_options
Based on the "connect_options" hash provided to Net::CLI::Interact on construction, selects and formats parameters to provide to "app" on
the command line. Supported attributes:
host (required)
Host name or IP address of the host to which the SSH application is to connect. Alternatively you can pass a value of the form
"user@host", but it's probably better to use the separate "username" parameter instead.
username
Optionally pass in the username for the SSH connection, otherwise the SSH client defaults to the current user's username. When using
this option, you should obviously only pass the host name to "host".
ignore_host_checks
Under normal interactive use "openssh" tracks the identity of connected hosts and verifies these identities upon each connection. In
automation this behaviour can be irritating because it is interactive.
This option, enabled by default, causes "openssh" to skip or ignore this host identity verification. This means the default setting is
less secure, but also less likely to trip you up. It is equivalent to the following:
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
CheckHostIP=no
Pass a false value to this option to disable the above and return "openssh" to its default configured settings.
opts
If you want to pass any other options to openssh on its command line, then use this option, which should be an array reference. Each
item in the list will be passed to "openssh", separated by a single space character. For example:
$s->new({
# ...other parameters to new()...
connect_options => {
opts => [
'-p', '222', # connect to non-standard port on remote host
'-o', 'CheckHostIP=no', # don't check host IP in known_hosts file
],
},
});
reap
Only used on Unix platforms, this installs a signal handler which attempts to reap the "ssh" child process. Pass a true value to enable
this feature only if you notice zombie processes are being left behind after use.
COMPOSITION
See the following for further interface details:
o Net::CLI::Interact::Transport
AUTHOR
Oliver Gorwits <oliver@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Oliver Gorwits.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-12 Net::CLI::Interact::Transport::SSH(3pm)