01-10-2014
Since its especting a DSA key why not generate the proper ? pointless copying a a RSA for a DSA...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
#!/usr/bin/perl
$basedir = "/home/MYUSERID/public_html/ordered_files";
$allowall = "yes";
$theext = ".gif";
use CGI;
$onnum = 1;
while ($onnum != 11) {
my $req = new CGI;
my $file = $req->param("FILE$onnum");
if ($file ne "") {
my $fileName = $file;
$fileName =~... (9 Replies)
Discussion started by: nikah_01
9 Replies
2. Shell Programming and Scripting
Hi All,
sftp -b script.txt <hostname>
user-authentication through non-interactive way is desired. But, its failing to do so.
Could anyone kindly advise.
Thanks for any/all help at the earliest.
Regards,
Dheeraj. (1 Reply)
Discussion started by: dheeruchakri
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
I want to automate the process of importing a SSL certificate name *.cer to cacerts through perl script. both the certificates belong to same folder.
The usual way of doing it is by executing the below command which imports the key name certnew.cer to cacerts in the same folder.
... (4 Replies)
Discussion started by: m_kk
4 Replies
4. Shell Programming and Scripting
Hi,
Is it possible to call a c function defined in a .c file from a pearl script?
How is this possible?
Thannks in advance,
JS (2 Replies)
Discussion started by: jisha
2 Replies
5. HP-UX
Hello,
Do you guys know set of commands that can incorporate to sftp/scp/ssh to add password in a script to automate file transfer.
Our client is not using ssh keys authentication so we are force to create a script to pass the password into the script to transfer files via sftp/scp/ssh.
We... (4 Replies)
Discussion started by: james_falco
4 Replies
6. Shell Programming and Scripting
Dear All
I need to discuss about the problem which has been discussed so many times here. I need to transfer a file from server A to server B via passwordless SFTP script. By reading the threads on this topic here, I followed the below steps but still it's not working ..
Pls find the steps... (13 Replies)
Discussion started by: uday.shankar
13 Replies
7. Red Hat
Hello list,
I am attempting to connect from a Redhat 6 machine to another linux machine. When I use the SSH command and specify my private key to use this it all connects fine, however there doesn't seem to be an option in the SFTP command to specify my private key for authentication.
In... (2 Replies)
Discussion started by: landossa
2 Replies
8. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
9. Web Development
My .NET website invokes a perl script to perform GIT operations on Gerrit server running UBuntu. In the perl script I connect using passwordless authentication to Gerrit server as below:
system ( "ssh gitadmin@gerritserver.com 'cd /xyz && git clone xxx' ");
I verified that ssh authentication... (3 Replies)
Discussion started by: tkota
3 Replies
LEARN ABOUT CENTOS
net::ldaps
Net::LDAPS(3) User Contributed Perl Documentation Net::LDAPS(3)
NAME
Net::LDAPS - use LDAP over an SSL connection
SYNOPSIS
use Net::LDAPS;
$ldaps = Net::LDAPS->new('myhost.example.com',
port => '10000',
verify => 'require',
capath => '/usr/local/cacerts/');
# alternate way
use Net::LDAP;
$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',
verify => 'require',
capath => '/usr/local/cacerts/');
DESCRIPTION
Communicate using the LDAP protocol to a directory server using an encrypted (SSL) network connection. This mechanism is non-standard but
widely supported; consider using LDAPv3 with the standard TLS extension if possible (many servers do not support it yet.) See "start_tls"
in Net::LDAP.
All the normal "Net::LDAP" methods can be used with a "Net::LDAPS" object; see Net::LDAP for details.
CONSTRUCTOR
new ( HOST [, OPTIONS ] )
Create a new connection. HOST is the hostname to contact. OPTIONS is a number of key/value pairs. See "new" in Net::LDAP for details.
SEE ALSO
Net::LDAP, IO::Socket::SSL
BUGS
You cannot have more than one LDAPS connection at any one time, due to restrictions in the underlying Net::SSLeay code.
AUTHOR
Chris Ridd <chris.ridd@isode.com>
COPYRIGHT
Copyright (c) 2000-2004, Chris Ridd and Graham Barr. All rights reserved. This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
perl v5.16.3 2013-06-07 Net::LDAPS(3)