Sponsored Content
Top Forums Shell Programming and Scripting Ssh fails for one of two users on the same server. Post 303037300 by Neo on Monday 29th of July 2019 01:32:50 PM
Old 07-29-2019
You should generate a separate key pair for each accounts.

That is what I recommended.

One key pair per userid.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Add users on OSX server with SSH

Hi Is it possible to add users on a Mac OSX server from a unix system with ssh? If it is what file to alter? brg Nicke (3 Replies)
Discussion started by: nicke30
3 Replies

2. Shell Programming and Scripting

unzip command fails in ssh

I'm trying to run a set of commands on a remote machine using ssh in a shell script. One of the commands is unzip. But when the execution reaches this command, the script fails with an error that unzip is not found. Below is the code and the error snippet. sourceDir=$1 ; filename=$3 ; destDir=$2... (4 Replies)
Discussion started by: farahzaiba
4 Replies

3. UNIX for Dummies Questions & Answers

Server fails to allow connection

Hi, I use bru to backup a variety of servers. One of our servers crashed and we had to do an emergency restore. It is working fine. The problem is the backup server refuses to backup the ftp server. The backup server ssh's into the servers and executed the bru command and instructs that that... (1 Reply)
Discussion started by: mojoman
1 Replies

4. Shell Programming and Scripting

Need Help with expect when ssh fails

I'm trying to write a script using expect. I'd like the script to execute several commands when the ssh succeeds and i want it to exit if the ssh fails. Does this require to define a time out for the ssh command so that if the prompt is back before this defined time the next commands are executed??... (2 Replies)
Discussion started by: Hossam_Nox
2 Replies

5. Red Hat

when users ftp to server the timezone reflected is UTC but the server is set to TZ in localtime

Guys, Need your help coz my server runs in local time GMT +8, but when client use ftp and login, the resulting timestamp seen in each file is in UTC format. We need to set that the time should be the same as GMT +8 when in ftp session. I am using RHEL 5.3. root@]# ll total 1740... (2 Replies)
Discussion started by: shtobias
2 Replies

6. Ubuntu

Passwordless ssh authentication fails

Unable to set ssh passwordless authentication I am unable to ssh with passwordless authentication from Windows client onto UBuntu server. The ssh version on UBuntu is OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e , while SSH on Windows Client is OpenSSH_5.1p1, OpenSSL 0.9.8k. I turned on ssh... (5 Replies)
Discussion started by: tkota
5 Replies

7. Shell Programming and Scripting

While loop not reading all files if ssh fails

The below while loop is in ksh on a SunOs server: SPARC-Enterprise 5.10 The ksh version is: Version M-11/16/88i The intention of the below while loop is to read through a list of file names in files.txt and delete each file from a server, one at a time. The delete works, the problem is that if... (6 Replies)
Discussion started by: LES2013
6 Replies

8. Shell Programming and Scripting

Windows exe file fails when triggered from ssh

Hi, I am triggering a windows exe file using the below command. ssh user@remoteserver command.exe -option1:xx /option2:yy This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load Any ideas to deal with... (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies

9. Shell Programming and Scripting

Ssh fails due to argument position.

I have a constraint to follow organization policy. So i do not have much liberty. ssh -i /opt/nonprod user1@hostone -t bash works while ssh -i /opt/nonprod -t bash user1@hostone fails How can I get this to work when I am enforced to put -t bash before the user@hostname ? Will share debug... (3 Replies)
Discussion started by: mohtashims
3 Replies

10. Shell Programming and Scripting

ssh fails from one server only with expecting SSH2_MSG_KEXDH_REPLY message

I have two linux servers viz 12.7.44.18 and 12.7.45.18 I wish to ssh from both these server to a destination AiX server 12.7.33.18 The ssh works from 12.7.44.18 -> 12.7.33.18 but fails from 12.7.45.18 -> 12.7.33.18 The openssl version on both linux source 12.7.44.18 and 12.7.45.18 is the... (7 Replies)
Discussion started by: mohtashims
7 Replies
PGP(1)							      General Commands Manual							    PGP(1)

NAME
pgpgpg - wrapper around Gnu Privacy Guard that takes Pretty Good Privacy command line options SYNOPSIS
pgpgpg [options] pgpfile pgpgpg -e [options] file user ... DESCRIPTION
PGPGPG is a wrapper that allows calls to GnuPG (Gnu Privacy Guard) using the command line options of (Pretty Good Privacy). PGP and GnuPG are encryption programms with high security encryption engines. However, PGP is available without a fee but is not realy free software. GnuPG on the other hand is realy free software and has additionally features but with a different command line syntax than PGP. The goal of pgpgpg is to plug in a command line syntax in front of GnuPG equal to PGP 2.6. OPTIONS
The following options are supported by pgpgpg notice that long options do not use the usual GNU syntax (--) but, instead are of the form +option[=value]. -e Encrypt a plaintext file. -d, -p Decrypt a plaintext file. -s Sign a plaintext file. pgpgpg -s file [-u userid] -sb Create a separate signature certificate (a .sig file) for a given file. pgpgpg -sb file [-u userid] -c Use convential cryptography when encrypting. -o Output to the file specified. Should only be used for encryption, decryption and signature operations (not for key management). -a, +armor ASCII armor the output file. -u, +myname Select the userid to use for some operations. -kg Generate a unique public/secret pair. -ka Add a public or secret key to your key ring. pgpgpg -ka keyfile [keyring] -kx Extract a copy from your public or secret keyring. pgpgpg -kx[a] userid keyfile [keyring] -kv View the contents of your keyring. pgpgpg -kv[v] [userid] [keyring] -kvc View a key fingerprint. pgpgpg -kvc [userid] [keyring] -kr Remove a key from your keyring. pgpgpg -kr userid [keyring] -kd If acting on your secret key, permanently revoke a key and issue a compromise certificate. If acting on a public key, disable or reenable a key. pgpgpg -kd userid -ke Edit trust parameters for a public key or edit the pass phrase or add a userid to a secret key. pgpgpg -ke userid [keyring] -kc View the contents and check the certifying signatures of your public key ring. pgpgpg -kc [userid] [keyring] -ks Sign and certify someone's public key. pgpgpg -ks userid [-u userid] [keyring] The following options are ignored or unsupported: ++armorlines, +autosign, +bakring, +interactive, +keepbinary, +language, +legal_kludge, +nomanual, +pager, +randseed, +tmp and +tzfix. BUGS
PGPGPG does not currently provide an online help (-h or -?) and will not show a summary of commands, as PGP does, when typing: pgp -k The following options are not documented (yet): +batchmode, +cert_depth, +charset, +encrypttoself, +force, +clearsig, +comment, +com- pletes_needed, +compress, +marginals_needed, +pubring, +secring, +textmode and +verbose. AUTHORS
PGP was originally written by Philip R. Zimmermann. PGPGPG was written by Michael Roth. This manpage was written by Javier Fernandez-Sanguino for the Debian distribution (but may be used by others) by glancing at PGP's manpage and the source code from PGPGPG (pgpopts.c) PGPGPG Version 0.13 PGP(1)
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy