02-01-2011
Request for SSH2 public key
Hey all, I have a request from a third party that will be setting my firm up for an account so we can sftp files to their server in a Production environment. I know where the public keys are located on our Red Hat Linux envronment. I was going to ftp the keys from the Linux environment over to my windows machine and email from there but now I'm getting all hung about about whether their will be some conversion of the files and the requester will complain they are no longer in Unix format. Is this a viable concern? I cannot seem to get the keys attached using mailx so I would like to just ftp them and use Outlook. Also, as an aside, the requestor never mentioned whether he wanted the DSA or RSA keys so I am sending both. Any suggestions or am I good with my ftp to local windows method.
TIA
David
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone help me out how to login on server using public key autorization.I want to use this on system.
Thanks in advance. (1 Reply)
Discussion started by: LochanM
1 Replies
2. Shell Programming and Scripting
do we need root access for the remote server to ssh without a password(i.e by using id_rsa.pub method)??? (1 Reply)
Discussion started by: roshanjain2
1 Replies
3. UNIX for Advanced & Expert Users
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
4. Linux
Dear All,
I need to decrypt with private key most of the time and this works for RSA. At times I need to decrypt with public key (data is encrypted with private key). This does not seem to work via VB.Net. Is there support for such an activity in Java on Linux or Windows ? Please advise.
... (3 Replies)
Discussion started by: Sushma Y
3 Replies
5. UNIX for Dummies Questions & Answers
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
6. Solaris
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
7. Shell Programming and Scripting
I generated a public key that we are using for ssh and sftp but I noticed that I am still being asked for a password when I run my script. is there something I need to put in my script?
Our linux guy said he placed keys on both servers. (2 Replies)
Discussion started by: MJCreations
2 Replies
8. HP-UX
I am trying to complete ssh2 connection between HP-UX and CoreFTP. The host key authentication fails with signature didn't match. See below output. I can connect to this CoreFTP from my Windows desktop, and connect to a multitude of other servers from the HP-UX system as well, but have... (2 Replies)
Discussion started by: Stars
2 Replies
9. UNIX for Advanced & Expert Users
I had generated a ssh2 key on my AIX box, to receive files from other AIX and Linux systems.
Key Name: id_ssh2_server.pub
However this ssh2 key (both public and private keys) has been overwritten, while I was generating another ssh2 key. Now the earlier configured target systems are not able... (3 Replies)
Discussion started by: freakygs
3 Replies
10. 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
LEARN ABOUT PHP
directoryiterator
DIRECTORYITERATOR(3) 1 DIRECTORYITERATOR(3)
The DirectoryIterator class
INTRODUCTION
The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.
CLASS SYNOPSIS
DirectoryIterator
DirectoryIteratorextends
SplFileInfoSeekableIterator
Methods
o public DirectoryIterator::__construct (string $path)
o public DirectoryIterator DirectoryIterator::current (void )
o public int DirectoryIterator::getATime (void )
o public string DirectoryIterator::getBasename ([string $suffix])
o public int DirectoryIterator::getCTime (void )
o public string DirectoryIterator::getExtension (void )
o public string DirectoryIterator::getFilename (void )
o public int DirectoryIterator::getGroup (void )
o public int DirectoryIterator::getInode (void )
o public int DirectoryIterator::getMTime (void )
o public int DirectoryIterator::getOwner (void )
o public string DirectoryIterator::getPath (void )
o public string DirectoryIterator::getPathname (void )
o public int DirectoryIterator::getPerms (void )
o public int DirectoryIterator::getSize (void )
o public string DirectoryIterator::getType (void )
o public bool DirectoryIterator::isDir (void )
o public bool DirectoryIterator::isDot (void )
o public bool DirectoryIterator::isExecutable (void )
o public bool DirectoryIterator::isFile (void )
o public bool DirectoryIterator::isLink (void )
o public bool DirectoryIterator::isReadable (void )
o public bool DirectoryIterator::isWritable (void )
o public string DirectoryIterator::key (void )
o public void DirectoryIterator::next (void )
o public void DirectoryIterator::rewind (void )
o public void DirectoryIterator::seek (int $position)
o public string DirectoryIterator::__toString (void )
o public bool DirectoryIterator::valid (void )
CHANGELOG
+--------+----------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+----------------------------------------+
| 5.1.2 | |
| | |
| | DirectoryIterator extends SplFileInfo. |
| | |
+--------+----------------------------------------+
PHP Documentation Group DIRECTORYITERATOR(3)