10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards, (4 Replies)
Discussion started by: rizwan.shaukat
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
we have private and public key, encrypt file using public and want to decrypt using private key. can you please advise below commands are correct or other remedy if unix have?
encrypt -a arcfour -k publickey.asc -i TESTFILE.csv -o TESTFILE00.csv
decrypt -a arcfour -k privatekey.asc... (2 Replies)
Discussion started by: rizwan.shaukat
2 Replies
3. Shell Programming and Scripting
Hi All,
I have a requirement where i need to check if an rsa public key corresponds to a private key and hence return success or failure. Currently i am using the command
diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$PUBLICKEY" )
and its solving my purpose. This is in... (1 Reply)
Discussion started by: mritusmoi
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
What tool is used to generate public and private keys for SCP?
Do you have an example script that generates these keys, puts them in files and then another example script that references them from SCP?
Thanks, (9 Replies)
Discussion started by: Astrocloud
9 Replies
5. Shell Programming and Scripting
hi guys , i have few files i have to do sftp, the public and private key work like a magic , no problem at all
the syntax is as below
sftp -0 identityfile=~/ure/blsl/loc2/.ssh/id_rsa_ssh1 ssh1@remote >log_dir/file.timestamp<<end
lcd folder
cd folder
put *
quit
end
================
my... (3 Replies)
Discussion started by: rockymayavia
3 Replies
6. Shell Programming and Scripting
Hi All,
I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B.
Now i can surelyconnect(without password) from server A to server B.....
but can i similarly connect from server B to server A as well
Regards (1 Reply)
Discussion started by: Arpit Narula
1 Replies
7. IP Networking
Hi,
We have a ftp server which is running on public ip and out side of firewall.
Users out side of our network and users of our local network both using the same public ip and doing upload and downloading.
Last few days we are facing bandwidth problem as internal network users increased.
... (1 Reply)
Discussion started by: abduljabbar_11
1 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
I have a quick/newb question:
I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps the public/private keys??
Does the Web Server hold both?
Does the Web Server have the public key and does the client have the private key? ... (3 Replies)
Discussion started by: tical00
3 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have an issue with an outside party trying to deliver a file to our server via SFTP.
I have setup the .ssh directory under the home directory for the user account that is being used and setup the authorized_keys file with correct permissons etc for .ssh directory and file.
We... (2 Replies)
Discussion started by: richo king
2 Replies
10. UNIX for Advanced & Expert Users
Firstly, i apologise if i have posted in a wrong section of the forum. Please let me know which is the correct section my post should go to.
I have to SCP a file from one server(server A) to another (server B). I read around that a secure way is to use public and private keys.
Assuming my... (2 Replies)
Discussion started by: new2ss
2 Replies
Tspi_Context_GetCapability(3) TCG Software Stack Developer's Reference Tspi_Context_GetCapability(3)
NAME
Tspi_Context_GetCapability - provide the capabilities of a TSS Core Service, TSS Service Provider, or TPM.
SYNOPSIS
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_Context_GetCapability(TSS_HCONTEXT hContext, TSS_FLAG capArea,
UINT32 ulSubCapLength, BYTE* rgbSubCap,
UINT32* pulRespDataLength, BYTE** prgbRespData);
DESCRIPTION
TSS_Context_GetCapability provides the capabilities of the TSS Core Service or TSS Service Provider
PARAMETERS
hContext
The handle of the context object.
capArea
Flag indicating the attribute to query.
ulSubCapLength
The length (in bytes) of the rgbSubCap parameter.
rgbSubCap
Data indicating the attribute to query.
pulRespDataLength
Recieves the length (in bytes) of the prgbRespData parameter.
prgbRespData
On successful completion of the command, this parameter points to a buffer containing the actual data of the specified capability.
RETURN CODES
Tspi_Context_GetCapability returns TSS_SUCCESS on success, otherwise one of the following values are returned:
TSS_E_INVALID_HANDLE - hContext is an invalid handle.
TSS_E_BAD_PARAMETER - One of the parameters did not match.
TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
CONFORMING TO
Tspi_Context_GetCapability conforms to the Trusted Computing Group Software Specification version 1.1 Golden
SEE ALSO
(none).
TSS 1.1 2004-05-26 Tspi_Context_GetCapability(3)