02-14-2013
Hi wasim,
u can use putty generator to generate a key and use it in the ............authorised_keys in to the server which u have to login....
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
I need a script that can run an sftp session into a remote server, and retreive a file. Does anyone know how to pass in the user/password details in a script? I seem to have forgotten (5 Replies)
Discussion started by: Khoomfire
5 Replies
2. Solaris
Hi, Boss
I have a question....
BackGround: i have a shell name xxxLineInput.x
the useage is: xxxLineInput.x -Txxx -Uxxx -Pxxx
when i use the command line..can run normal.
Target: i want to set automatic login, the mean is when i login the as the specifical... (0 Replies)
Discussion started by: surainbow
0 Replies
3. UNIX for Dummies Questions & Answers
I need a script that will let me connect to my hpux server with just a click of the icon without type my username and password. (5 Replies)
Discussion started by: tree740
5 Replies
4. Slackware
I know how to set up KDM or GDM to do automatic login, but is there a way to do it without GDM or KDM or X at all so when I start the machine I am immediately taken to a waiting command prompt? Thanks (5 Replies)
Discussion started by: raidzero
5 Replies
5. UNIX for Dummies Questions & Answers
I am changing root password by passwd. Now I can directly log into the system but I can not log in using puttytel.
It will show an error "Incorrect Password":rolleyes: (1 Reply)
Discussion started by: arrs
1 Replies
6. UNIX for Dummies Questions & Answers
Hello Everybody,
I have a question on the UNIX server login with putty.
Can this login procedure into PUTTY be automated with a macro or vbs or batch file?
Kindly help me in directing me for the above.
Thanks for the help,
Regards, (3 Replies)
Discussion started by: swame_sp
3 Replies
7. Fedora
Hi all,
I am able to login via putty to a fedora 10 workstation.
But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work.
$ who -r
... (4 Replies)
Discussion started by: lramsb4u
4 Replies
8. UNIX for Advanced & Expert Users
Hi Guys ,
I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so .
Please note : I am not talking about keyfile .
Thanks in... (6 Replies)
Discussion started by: radha254
6 Replies
9. UNIX for Dummies Questions & Answers
Hello All ,
Requiremnt : i want to login to putty automatically and change the settings like i want , for ex : changing the "lines of scrollback" , " under colors , want to check to checkmark the option use system colors" . Like this i want to do .
I have a bash file created to login . But... (2 Replies)
Discussion started by: radha254
2 Replies
10. Shell Programming and Scripting
Hi,
I need to write a script to automate the logon via putty with Sesu-.
can someone help me?
thanks in advance (1 Reply)
Discussion started by: austrold
1 Replies
LEARN ABOUT LINUX
dh_generate_parameters
DH_generate_parameters(3SSL) OpenSSL DH_generate_parameters(3SSL)
NAME
DH_generate_parameters, DH_check - generate and check Diffie-Hellman parameters
SYNOPSIS
#include <openssl/dh.h>
DH *DH_generate_parameters(int prime_len, int generator,
void (*callback)(int, int, void *), void *cb_arg);
int DH_check(DH *dh, int *codes);
DESCRIPTION
DH_generate_parameters() generates Diffie-Hellman parameters that can be shared among a group of users, and returns them in a newly
allocated DH structure. The pseudo-random number generator must be seeded prior to calling DH_generate_parameters().
prime_len is the length in bits of the safe prime to be generated. generator is a small number > 1, typically 2 or 5.
A callback function may be used to provide feedback about the progress of the key generation. If callback is not NULL, it will be called as
described in BN_generate_prime(3) while a random prime number is generated, and when a prime has been found, callback(3, 0, cb_arg) is
called.
DH_check() validates Diffie-Hellman parameters. It checks that p is a safe prime, and that g is a suitable generator. In the case of an
error, the bit flags DH_CHECK_P_NOT_SAFE_PRIME or DH_NOT_SUITABLE_GENERATOR are set in *codes. DH_UNABLE_TO_CHECK_GENERATOR is set if the
generator cannot be checked, i.e. it does not equal 2 or 5.
RETURN VALUES
DH_generate_parameters() returns a pointer to the DH structure, or NULL if the parameter generation fails. The error codes can be obtained
by ERR_get_error(3).
DH_check() returns 1 if the check could be performed, 0 otherwise.
NOTES
DH_generate_parameters() may run for several hours before finding a suitable prime.
The parameters generated by DH_generate_parameters() are not to be used in signature schemes.
BUGS
If generator is not 2 or 5, dh->g=generator is not a usable generator.
SEE ALSO
dh(3), ERR_get_error(3), rand(3), DH_free(3)
HISTORY
DH_check() is available in all versions of SSLeay and OpenSSL. The cb_arg argument to DH_generate_parameters() was added in SSLeay 0.9.0.
In versions before OpenSSL 0.9.5, DH_CHECK_P_NOT_STRONG_PRIME is used instead of DH_CHECK_P_NOT_SAFE_PRIME.
1.0.0e 2002-09-25 DH_generate_parameters(3SSL)