11-20-2001
Directory Permissionsa
How do I do this Via SSH I am using as program called putty.
Thanks for the help
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have noticed that rm -if will perform completely different to rm -fi. Whats the pattern of how I put my options to the script in relation to how it will act.
i.e
rm -fi treat the remove as interative but
rm -if treats it as forced
Thansk, Chris. (1 Reply)
Discussion started by: Chiefos
1 Replies
2. Shell Programming and Scripting
How can I get heigth and width of an image file?
It's possible to do without ImageMagick or other third libraries??
Thank you very much (3 Replies)
Discussion started by: victorin
3 Replies
3. UNIX for Dummies Questions & Answers
How to view the list of the files in the sub directory along with their properties?
I mean
<folder1>
........<folder11>
..............<folder111>
......................MyFile_1111.txt
......................MyFile_1112.txt
..............<folder112>
......................MyFile_1121.txt... (3 Replies)
Discussion started by: ravikirankethe
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a simple problem in vi of which I dont know the solution.
I have a file of 2000 lines. But when I open the file in vi, it only displays 20 lines and I have to use ctrl-f to see next lines.
How do change the screen settings in vi? I want to see screen full text.
stty rows... (2 Replies)
Discussion started by: shriashishpatil
2 Replies
5. Shell Programming and Scripting
Hi All,
I have a code below but i have problems trying to execute "cat $jpg". Can anybody give me any advise? Is there something wrong with my syntax ?
#!/bin/csh
set qqq = 123
set www = 456
set jpg = ( $qqq $www )
cat $jpg
Output: (2 Replies)
Discussion started by: Raynon
2 Replies
6. HP-UX
Hi
How can we identify the informations like Author, meta data, dependency and other information from a depot file? (1 Reply)
Discussion started by: sethumadhavan
1 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
I do have a line in my code as follows:
if ] ; then
...
else
...
fi
What does the -z does ? Similarly there is -s in some other part of the code. I guess there are many options like this.. Can anybody please tell what all options are available and what do they mean ? (2 Replies)
Discussion started by: risshanth
2 Replies
8. Solaris
Hi,
I have been tasked to migrate a test package my company developed from a Solaris 4 O/S to a new machine running Solaris 8. After many tweaks to paths etc we finally got it running but we have one problem which I am unable to solve.
While the application is running a user selected menu... (0 Replies)
Discussion started by: JustinPyfrom
0 Replies
9. Shell Programming and Scripting
Hi
Am new to this scripting stuff so bear with me.
I got a script made now that reads in a properties file. The properties file is in the following format:
256= Bos, Sea, FRa
128= HEL
I want to be able to read in each line of the file and split out the letter fields by the numbered field. This... (2 Replies)
Discussion started by: vsekvsek
2 Replies
LEARN ABOUT DEBIAN
openpgp2ssh
OPENPGP2SSH(1) BSD General Commands Manual OPENPGP2SSH(1)
NAME
openpgp2ssh -- translate OpenPGP keys to SSH keys
SYNOPSIS
openpgp2ssh < mykey.gpg
gpg --export $KEYID | openpgp2ssh $KEYID
gpg --export-secret-key $KEYID | openpgp2ssh $KEYID
DESCRIPTION
openpgp2ssh takes an OpenPGP-formatted primary key and associated subkeys on standard input, and spits out the requested equivalent SSH-style
key on standard output.
If the data on standard input contains no subkeys, you can invoke openpgp2ssh without arguments. If the data on standard input contains mul-
tiple keys (e.g. a primary key and associated subkeys), you must specify a specific OpenPGP key identifier as the first argument to indicate
which key to export. The key ID is normally the 40 hex digit OpenPGP fingerprint of the key or subkey desired, but openpgp2ssh will accept
as few as the last 8 digits of the fingerprint as a key ID.
If the input contains an OpenPGP RSA public key, it will be converted to the OpenSSH-style single-line keystring, prefixed with the key type
(`ssh-rsa'). This format is suitable (with minor alterations) for insertion into known_hosts files and authorized_keys files.
If the input contains an OpenPGP RSA secret key, it will be converted to the equivalent PEM-encoded private key.
openpgp2ssh is part of the monkeysphere(7) framework for providing a PKI for SSH.
CAVEATS
The keys produced by this process are stripped of all identifying information, including certifications, self-signatures, etc. This is
intentional, since ssh attaches no inherent significance to these features.
openpgp2ssh will produce output for any requested RSA key. This means, among other things, that it will happily export revoked keys, unveri-
fiable keys, expired keys, etc. Make sure you do your own key validation before using this tool!
EXAMPLES
gpg --export-secret-key $KEYID | openpgp2ssh $KEYID | ssh-add -c /dev/stdin
This pushes the secret key into the active ssh-agent(1). Tools such as ssh(1) which know how to talk to the ssh-agent(1) can now rely on the
key.
AUTHOR
openpgp2ssh and this man page were written by Daniel Kahn Gillmor <dkg@fifthhorseman.net>.
BUGS
openpgp2ssh only works with RSA keys. DSA keys are the only other key type available in both OpenPGP and SSH, but they are currently unsup-
ported by this utility.
openpgp2ssh only accepts raw OpenPGP packets on standard input. It does not accept ASCII-armored input. openpgp2ssh Currently only exports
into formats used by the OpenSSH. It should support other key output formats, such as those used by lsh(1) and putty(1).
Secret key output is currently not passphrase-protected.
openpgp2ssh currently cannot handle passphrase-protected secret keys on input.
SEE ALSO
pem2openpgp(1), monkeysphere(1), monkeysphere(7), ssh(1), monkeysphere-authentication(8), monkeysphere-host(8)
BSD
March 1,, 2009 BSD