9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step:
#!/bin/bash
# LAN SSH KEYS DISCOVERY SCRIPT
</etc/passwd \
grep /bin/bash |
cut -d: -f6 |
sudo xargs -i -- sh -c '
&& cat... (11 Replies)
Discussion started by: syrius
11 Replies
2. Web Development
Yes, it's that minefield again. I'm building an AJAX database interface which uses maria/mysql logins instead of keeping a bunch of its own private logins, to try and keep it simple.
The thorny bit is, of course, the passwords. Doing this requires it to remember passwords between sessions, not... (4 Replies)
Discussion started by: Corona688
4 Replies
3. Shell Programming and Scripting
Hi All,
I am trying to create a script with the help of while and expect loop to do the following:
1. script will pick up the servers one by one from server_list file and will do ssh to it.
2. for each server it will change the password of user test1.
3. script should also provide logs for... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
4. Red Hat
There are two servers :
1. Site
2. Testing
from site server i want to connect testing server with ssh password less authentication.
i generated public and private keys with ssh-keygen -t rsa on site server.
cat id_rsa >> authorized_keys
cat id_rsa.pub >> authorized_keys
i... (15 Replies)
Discussion started by: rehantayyab82
15 Replies
5. Solaris
Hello,
I could use some help with my ssh keys and agent.
This is the issue. I have 2 different UNIX systems at work. One is the normal Solaris servers with my uid being the same throughout all the servers. I now have a different system for my desktop. A contractor came in and installed some SUN... (0 Replies)
Discussion started by: bitlord
0 Replies
6. Shell Programming and Scripting
In my environment "SunOS - 5.10 Generic_142900-14 sun4v sparc SUNW,T5240" when I issue an ssh i get prompted for a password. I need to run an ssh in a script but is it possible to ready an encrypted password file or to pass the password in the script or configure it so that a particular user-id... (1 Reply)
Discussion started by: Harleyrci
1 Replies
7. Shell Programming and Scripting
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
i wanted to generate ssh keys so that i can include the public key in the remote sever, so that for subsequent logins, i can do away with the keying in of the password. I consulted the man ssh-keygen man pages. "..Normally each user wishing to use SSH with RSA or DSA... (1 Reply)
Discussion started by: new2ss
1 Replies
9. UNIX for Advanced & Expert Users
Hello,
I'm wondering if anyone has a step-by-step instruction set for setting up ssh keys? I've gone through many of the manuals online (most seem to be from the same source) and it's a little bit unclear when the documentation is talking about the server versus the client machine. I'm missing... (1 Reply)
Discussion started by: sysera
1 Replies
productsign(1) BSD General Commands Manual productsign(1)
NAME
productsign -- Sign an OS X Installer product archive
SYNOPSIS
productsign [options] --sign identity input-product-path output-product-path
DESCRIPTION
productsign adds a digital signature to a product archive previously created with productbuild(1). Although you can add a digital signature
at the time you run productbuild(1), you may wish to add a signature later, once the product archive has been tested and is ready to deploy.
If you run productsign on a product archive that was previously signed, the existing signature will be replaced.
To sign a product archive, you will need to have a certificate and corresponding private key -- together called an ``identity'' -- in one of
your accessible keychains. To add a signature, specify the name of the identity using the --sign option. The identity's name is the same as
the ``Common Name'' of the certificate.
If you want to search for the identity in a specific keychain, specify the path to the keychain file using the --keychain option. Otherwise,
the default keychain search path is used.
productsign will embed the signing certificate in the product archive, as well as any intermediate certificates that are found in the key-
chain. If you need to embed additional certificates to form a chain of trust between the signing certificate and a trusted root certificate
on the system, use the --cert option to give the Common Name of the intermediate certificate. Multiple --cert options may be used to embed
multiple intermediate certificates.
The signature can optionally include a trusted timestamp. This is enabled by default when signing with a Developer ID identity, but it can be
enabled explicitly using the --timestamp option. A timestamp server must be contacted to embed a trusted timestamp. If you aren't connected
to the Internet, you can use --timestamp=none to disable timestamps, even for a Developer ID identity.
ARGUMENTS AND OPTIONS
--sign identity-name
The name of the identity to use for signing the product archive.
--keychain keychain-path
Specify a specific keychain to search for the signing identity.
--cert certificate-name
Specify an intermediate certificate to be embedded in the product archive.
--timestamp
Include a trusted timestamp with the signature.
--timestamp=none
Disable trusted timestamp, regardless of identity.
input-product-path
The product archive to be signed.
output-product-path
The path to which the signed product archive will be written. Must not be the same as input-product-path.
SEE ALSO
productbuild(1)
Mac OS September 15, 2010 Mac OS