SFTP Passing without DSA Key check

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications SFTP Passing without DSA Key check
# 1  
Old 10-12-2011
SFTP Passing without DSA Key check

Hi,

I am trying to connect through SFTP. Though the DSA 2048 public key is installed in the server machine, the connection is established only with password authentication! When i turn off password authentication in sshd_config file the connection is not working.

Please advise,

Best Regards,
Maharajan
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Passing key column from parent to child records

Hi Forum. I have this challenging issue that I'm hoping someone can help me. I have a file that contains 3 different types of segments (AM00, AM01, AM32) in a hierarchy structure and I want to be able to pass the column key from the parent record to the children records. AM00 - parent key:... (13 Replies)
Discussion started by: pchang
13 Replies

2. Shell Programming and Scripting

Password in sftp NOT with key

I've been trying to get out of this, but my manager wont budge. He wants to sftp files from a server while passing the password in the script. I have said we need to use keys...he said no. I asked if we had expect capability...no. He said "use -b batch file command" I have checked every... (1 Reply)
Discussion started by: MJCreations
1 Replies

3. Solaris

Ssh between servers - No DSA host key is known

It seems I can do ssh <IP> but not ssh <hostname> If I try to ssh to hostname I get the error - No DSA host key is known for host1 and you have requested strict checking. Host key verification failed. Where do I set up the DSA keys? Is it ssh_known_hosts? Assume afterwards I can... (3 Replies)
Discussion started by: psychocandy
3 Replies

4. UNIX for Dummies Questions & Answers

SFTP Passing without DSA Key check

Hi, I am trying to connect through SFTP. Though the DSA 2048 public key is installed in the server machine, the connection is established only with password authentication! When i turn off password authentication in sshd_config file the connection is not working. Please advise, Best... (0 Replies)
Discussion started by: Maharajan
0 Replies

5. AIX

Installing DSA public key in Unix AIX server

Hi, A VMS server want to use SFTP to transfer files to our Unix server. We received their public key. Below is the process we followed to install this public key in our unix server. 1. Go to $HOME/.ssh 2. cat public_key_vms_server >> authorized_keys2 3. Ensure this folder and file has the... (1 Reply)
Discussion started by: devina
1 Replies

6. Shell Programming and Scripting

check DSA keys

hi! i have a scenario where the dsa key's might be tampered in the remote host. My shell script is doing something like this /bin/ssh -v -i /home/erp/.ssh/dsa ref@host ls /home/test/auto.log it is working fine .but the problem is that it returns an exit code of 1 both for the... (0 Replies)
Discussion started by: phpsnook
0 Replies

7. UNIX for Advanced & Expert Users

Sftp Key Authentication Issue

Hello, We have an issue attempting to login from a Unix Solaris to an NT server using key authentication. I will attempt to provide you with as much of the relevant information regarding the way the system is set up, although I'm workingin solely on the Unix side, so don't have full access to... (3 Replies)
Discussion started by: SteveBurch
3 Replies

8. Solaris

problem when generating dsa key

i got this while trying generating a dsa key on solaris 10 x86 platform how can i solve it? (0 Replies)
Discussion started by: conandor
0 Replies

9. UNIX for Dummies Questions & Answers

SCP using a dsa key

Hello all, My first post in this forum. I am trying to download a file from a server to which I have been granted access. They setup a DSA public key and I have a local private key. When i try to download the file it prompts me for my password. How can I tell unix to use the DSA key... (1 Reply)
Discussion started by: who2
1 Replies

10. Cybersecurity

ssh DSA Key fingerprint option

Hi, I have an cron-script running ssh every 5 minutes. After a reboot cron errors as ssh is wating for a DSA key fingerprint authenticy. The request looks as following : The authenticity of host '*** (*.*.*.0)' can't be established. DSA key fingerprint is... (1 Reply)
Discussion started by: davidg
1 Replies
Login or Register to Ask a Question
Crypt::DSA::Key(3pm)					User Contributed Perl Documentation				      Crypt::DSA::Key(3pm)

NAME
Crypt::DSA::Key - DSA key SYNOPSIS
use Crypt::DSA::Key; my $key = Crypt::DSA::Key->new; $key->p($p); DESCRIPTION
Crypt::DSA::Key contains a DSA key, both the public and private portions. Subclasses of Crypt::DSA::Key implement read and write methods, such that you can store DSA keys on disk, and read them back into your application. USAGE
Any of the key attributes can be accessed through combination get/set methods. The key attributes are: p, q, g, priv_key, and pub_key. For example: $key->p($p); my $p2 = $key->p; $key = Crypt::DSA::Key->new(%arg) Creates a new (empty) key object. All of the attributes are initialized to 0. Alternately, if you provide the Filename parameter (see below), the key will be read in from disk. If you provide the Type parameter (mandatory if Filename is provided), be aware that your key will actually be blessed into a subclass of Crypt::DSA::Key. Specifically, it will be the class implementing the specific read functionality for that type, eg. Crypt::DSA::Key::PEM. Returns the key on success, "undef" otherwise. (See Password for one reason why new might return "undef"). %arg can contain: o Type The type of file where the key is stored. Currently the only option is PEM, which indicates a PEM file (optionally encrypted, ASN.1-encoded object). Support for reading/writing PEM files comes from Convert::PEM; if you don't have this module installed, the new method will die. This argument is mandatory, if you're either reading the file from disk (ie. you provide a Filename argument) or you've specified the Content argument. o Filename The location of the file from which you'd like to read the key. Requires a Type argument so the decoder knows what type of file it is. You can't specify Content and Filename at the same time. o Content The serialized version of the key. Requires a Type argument so the decoder knows how to decode it. You can't specify Content and Filename at the same time. o Password If your key file is encrypted, you'll need to supply a passphrase to decrypt it. You can do that here. If your passphrase is incorrect, new will return "undef". $key->write(%arg) Writes a key (optionally) to disk, using a format that you define with the Type parameter. If your $key object has a defined priv_key (private key portion), the key will be written as a DSA private key object; otherwise, it will be written out as a public key. Note that not all serialization mechanisms can produce public keys in this version--currently, only PEM public keys are supported. %arg can include: o Type The type of file format that you wish to write. PEM is one example (in fact, currently, it's the only example). This argument is mandatory, unless your $key object is already blessed into a subclass (eg. Crypt::DSA::Key::PEM), and you wish to write the file using the same subclass. o Filename The location of the file on disk where you want the key file to be written. o Password If you want the key file to be encrypted, provide this argument, and the ASN.1-encoded string will be encrypted using the passphrase as a key. $key->size Returns the size of the key, in bits. This is actually the number of bits in the large prime p. AUTHOR &; COPYRIGHTS Please see the Crypt::DSA manpage for author, copyright, and license information. perl v5.12.4 2011-06-17 Crypt::DSA::Key(3pm)