Sponsored Content
Top Forums UNIX for Advanced & Expert Users secure file transfer with public key Post 302273755 by prvnrk on Monday 5th of January 2009 05:28:23 PM
Old 01-05-2009
Hi Perderabo,

Thanks for the response.

The other-end party (not FTP) insisting for encrypted files, Sorry for my bad english.

I did the below (unfortunately before i saw your reply) and uploaded files.
  1. downloaded and installed all required packages from sunfreeware
  2. "/usr/local/bin/gpg --import" (without creating my own keys) but imported their pub successfully
  3. "gpg --list-keys" shows correct output (there's no e-mail associated with but just UID)
  4. gpg --yes -eq -r "their-UID" -o encrypted_file.pgp file_to_encrypt

It encrypts but gives warning as below

Code:
++++++++

gpg: 268C2A61: There is no assurance this key belongs to the named user

 <pub key info>

It is NOT certain that the key belongs to the person named
in the user ID.  If you *really* know what you are doing,
you may answer the next question with yes.

Use this key anyway? (y/N) y

++++++++

I uploaded the encrypted files

My doubts:
  1. is it really required to create own-keys?
  2. how to avoid this above warning? (perhaps, by creating own keys and sign their pub keys?)

I noticed few "pgp" in your solution and I assume mistyped and should be "gpg". am I correct?

thanks for the help,
Prvn

Last edited by rbatte1; 12-02-2016 at 07:17 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSH - Public key

When should one have to generate a public key on a Server when the public key is already created and used by other clients? Thanks, Rahul. (6 Replies)
Discussion started by: rahulrathod
6 Replies

2. AIX

How to use SSH Secure File Transfer tool from windows to AIX without password?

If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

3. Cybersecurity

Secure File Transfer for Mainframe systems

Hi guys, I would like to transfer files from UNIX machine to Mainframe system (using UNIX machine as client). The transfer process needs to be secure (i.e. data sent thro network should be encrypted using 128-bit encryption algorithm). I came to know that SFTP server is not available for Mainframe... (3 Replies)
Discussion started by: sydneymoon
3 Replies

4. Shell Programming and Scripting

Question about secure file transfer

Hi all, I am running a large scale business and some time I have to transfer large and very important data files to my business partner. I fear about my data because there are many of my business competitors who will definitely try to steal my important data. So there is huge amount of risk... (0 Replies)
Discussion started by: camden
0 Replies

5. Shell Programming and Scripting

Secure File Transfer Protocol

Hi, Is there any protocol other than SFTP to transfer the file using secured connection SSH. ? Regards, Arthik (2 Replies)
Discussion started by: arthikbabu
2 Replies

6. Shell Programming and Scripting

secure upload using public key

Hi, i was provided with 1. Server IP (Remote) 2. Username and Password (worked when tested basic FTP) 3. Their Public key (GnuPG v1.0.6) They refuse when i upload using basic FTP and insists for encryption. I have Solaris 10 and Linux in my environment. How can i encrypt and upload... (0 Replies)
Discussion started by: prvnrk
0 Replies

7. UNIX for Dummies Questions & Answers

VSFTPD Public Key Help

Hi all Ive setup a VSFTPD server and im forcing SSL encryption. I have made a key and it works perfectly. I have a client who wants to connect but is using software that needs the key to be added before he can connect. Does he need me to send the key i created and that the VSFTPD.conf... (0 Replies)
Discussion started by: mokachoka
0 Replies

8. UNIX and Linux Applications

Central Location for all ssh Keys and Settings Unattended Secure File Transfer

I am developing an application that submits command line file transfers using ssh (Sun to Sun) and Tectia ssh (Sun to Windows Server) embedded in the code. Potentially many different trusted people will start the programs. Is there a way to have all the settings and keys localized so that there is... (0 Replies)
Discussion started by: PowersThatB
0 Replies

9. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

10. UNIX for Advanced & Expert Users

Secure Copy - File Transfer between 2 server

Using RCP command we can transfer file from one server to another server. While transferring we can rename the file also e.g. File name = FILE123.txt (lying on Source server = oldserver) Target Server Name = newyour Renamed File = FILE456.txt rcp FILE123.txt newyour:./FILE456.txt... (1 Reply)
Discussion started by: Pash
1 Replies
GPG-ZIP(1)						      General Commands Manual							GPG-ZIP(1)

NAME
gpg-zip - encrypt or sign files into an archive SYNOPSIS
gpg-zip [OPTIONS] filename1 [filename2, ...] directory1 [directory2, ...] DESCRIPTION
This manual page documents briefly the gpg-zip command. gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as PGP's PGP Zip. OPTIONS
-e, --encrypt Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase). -d, --decrypt Decrypt data. -c, --symmetric Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the --cipher-algo option to gpg(1). -s, --sign Make a signature. See gpg(1). -r, --recipient USER Encrypt for user id USER. See gpg(1). -u, --local-user USER Use USER as the key to sign with. See gpg(1). --list-archive List the contents of the specified archive. -o, --output FILE" Write output to specified file FILE. --gpg GPG Use the specified command instead of gpg. --gpg-args ARGS Pass the specified options to gpg(1). --tar TAR Use the specified command instead of tar. --tar-args ARGS Pass the specified options to tar(1). -h, --help Output a short usage information. --version Output the program version. DIAGNOSTICS
The program returns 0 if everything was fine, 1 otherwise. EXAMPLES
Encrypt the contents of directory mydocs for user Bob to file test1: gpg-zip --encrypt --output test1 --gpg-args -r Bob"" mydocs List the contents of archive test1: gpg-zip --list-archive test1 SEE ALSO
gpg(1), tar(1) AUTHOR
Copyright (C) 2005 Free Software Foundation, Inc. Please report bugs to <bug-gnupg@gnu.org>. This manpage was written by Colin Tuckley <colin@tuckley.org> and Daniel Leidert <daniel.leidert@wgdd.de> for the Debian distribution (but may be used by others). November 2006 GPG-ZIP(1)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy