05-24-2016
Re: ssh refuse connection
Hi
Thanks for the info.
But i may sound funny, but just observed the content of the file known_hosts a combination of unreadable characters.
Where is the correct key determineand how?
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
pls how do i connect to my freebsd server via ssh from a windows client?? I have sshd running on d freebsd server. (9 Replies)
Discussion started by: lealyz
9 Replies
2. UNIX for Dummies Questions & Answers
Hi @ all!
I've a problem with a ssh-connection.
I want to establish a ssh-connection between an AIX-System and an SunOS-System without a password.
The Users are different one's.
Command :
user1@server1 /home/user1 > ssh user2@server2
Is it possible?
Greetings olli-h (1 Reply)
Discussion started by: olli-h
1 Replies
3. Shell Programming and Scripting
Hi Guys,
Asking your kind help to solve the issue
connecting to remote server via ssh
Purpose not to use password
Server A (Client) commands used
mkdir -p $HOME/.ssh
chmod 0700 $HOME/.ssh
ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P ''
copied the public key in server B... (3 Replies)
Discussion started by: Pratik4891
3 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I have an Active Perl version 5.12.2.1203 installed on my PC, I have a script that will perform some commands to the remote server by using SSH connection from local PC to remote server. I've found out that the Active Perl installed on my PC does not support such module, it only allows... (1 Reply)
Discussion started by: rymnd_12345
1 Replies
5. Red Hat
hi,
I have ssh connection between two servers for a functional Id for SFTP purpose.
I aim is to setup this for is only work when below command is used by a .ksh script.
ssh userid@servername:/directory
Unfortunately users who have access to functional id are manually using above command... (2 Replies)
Discussion started by: maddy26615
2 Replies
6. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
7. UNIX for Advanced & Expert Users
Hi!
I know its a recurring problem, but I am failing to sort this out, I have two servers ( A and B), in which I am able to connect without having to put password from server B to server A, but the connect from server A to server B.
takes 7 minutes to establish???
on Server A, I have the... (7 Replies)
Discussion started by: fretagi
7 Replies
8. BSD
Hello guys!
I am setting up a script to access a unix remote server. My problem is that when I put the ssh line "my host", the script does not wait for the server response asking for the password to execute the line in which I put the password, that is, I need to put a form in which script has a... (1 Reply)
Discussion started by: aroucasp
1 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not...
I have .sh script like below and i have servers.txt contains all the list of servers
#/bin/bash
for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies
LEARN ABOUT OPENSOLARIS
pkcs7_decrypt
PKCS7_decrypt(3openssl) OpenSSL PKCS7_decrypt(3openssl)
NAME
PKCS7_decrypt - decrypt content from a PKCS#7 envelopedData structure
SYNOPSIS
int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags);
DESCRIPTION
PKCS7_decrypt() extracts and decrypts the content from a PKCS#7 envelopedData structure. pkey is the private key of the recipient, cert is
the recipients certificate, data is a BIO to write the content to and flags is an optional set of flags.
NOTES
OpenSSL_add_all_algorithms() (or equivalent) should be called before using this function or errors about unknown algorithms will occur.
Although the recipients certificate is not needed to decrypt the data it is needed to locate the appropriate (of possible several) recipi-
ents in the PKCS#7 structure.
The following flags can be passed in the flags parameter.
If the PKCS7_TEXT flag is set MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain then
an error is returned.
RETURN VALUES
PKCS7_decrypt() returns either 1 for success or 0 for failure. The error can be obtained from ERR_get_error(3)
BUGS
PKCS7_decrypt() must be passed the correct recipient key and certificate. It would be better if it could look up the correct key and cer-
tificate from a database.
The lack of single pass processing and need to hold all data in memory as mentioned in PKCS7_sign() also applies to PKCS7_verify().
SEE ALSO
ERR_get_error(3), PKCS7_encrypt(3)
HISTORY
PKCS7_decrypt() was added to OpenSSL 0.9.5
OpenSSL-0.9.8 Oct 11 2005 PKCS7_decrypt(3openssl)