02-29-2012
Thank you all for the responses
Cheers
Last edited by vbe; 02-29-2012 at 09:39 AM..
Reason: first became a almost dupl...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages.
How can i terminate this daemon ? ? ?
Regards,
Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies
2. AIX
Hi everybody;
Javaecore files and heapdump created every day in my system in the "/" and make it full. Is there any way to disable this core files or change there directory from the "/" to "/tmp".
Note that AIX level is 5.2 with ML 6.
BeSt ReGaRs (0 Replies)
Discussion started by: khalifah
0 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone
I am using HP Ux and had run a find command. Now I am trying to kill it with kill or kill -9 but it is not getting killed and still running. Any clues ?
Thanks
Sidhu (5 Replies)
Discussion started by: Amardeep
5 Replies
4. Programming
Hi all
i have simple c program , when i wish to kill the app
im using kill(0,-9) , but it seams this command don't do any thing and the program.
just ignore it .
what im doing wrong here ?
im using HP-UX ia64
Thanks (9 Replies)
Discussion started by: umen
9 Replies
5. Shell Programming and Scripting
Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies
6. Linux
I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies
7. Solaris
Hello Friends,
Need your help !!
I have WebSphere Application Server 6 running on Solaris 10, some of my applications are facing out of memory errors. I have tried increasing the heapsize, still I am getting same messages randomly. I have used kill -3 <PID> to generate the... (1 Reply)
Discussion started by: sahilsardana
1 Replies
8. Shell Programming and Scripting
How to undo the kill command in Linux OS? (9 Replies)
Discussion started by: poonam.gaigole
9 Replies
9. Solaris
Hello everyone,
I have a process that I want to kill. I have tried kill-9 PID but it doesn't work. I have tried preap PID but it doesn't work too.
The parent of my process is the process whose PID is 1, so I can't kill it.
My OS is a Solaris 9.
Can anyone help me understand what's going... (3 Replies)
Discussion started by: adilyos
3 Replies
10. Shell Programming and Scripting
Good afternoon
I need to KILL a process in a single command sentence, for example:
kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'`
That sentence Kills the process ID corresponding to the program CAL255.4ge.
However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies
LEARN ABOUT DEBIAN
libssh2_userauth_keyboard_interactive_ex
libssh2_userauth_keyboard_interactive_ex(3) libssh2 manual libssh2_userauth_keyboard_interactive_ex(3)
NAME
libssh2_userauth_keyboard_interactive_ex - authenticate a session using keyboard-interactive authentication
SYNOPSIS
#include <libssh2.h>
int
libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION *session,
const char *username,
unsigned int username_len,
LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC(*response_callback));
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3).
username - Name of user to attempt keyboard-interactive authentication for.
username_len - Length of username parameter.
response_callback - As authentication proceeds, the host issues several (1 or more) challenges and requires responses. This callback will
be called at this moment. The callback is responsible to obtain responses for the challenges, fill the provided data structure and then
return control. Responses will be sent to the host. String values will be free(3)ed by the library. The callback prototype must match this:
void response(const char *name,
int name_len, const char *instruction,
int instruction_len,
int num_prompts,
const LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts,
LIBSSH2_USERAUTH_KBDINT_RESPONSE *responses,
void **abstract);
Attempts keyboard-interactive (challenge/response) authentication.
Note that many SSH servers will always issue a single "password" challenge, requesting actual password as response, but it is not required
by the protocol, and various authentication schemes, such as smartcard authentication may use keyboard-interactive authentication type too.
RETURN VALUE
Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a
negative number, it isn't really a failure per se.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
IBSSH2_ERROR_AUTHENTICATION_FAILED - failed, invalid username/password or public/private key.
SEE ALSO
libssh2_session_init_ex(3)
libssh2 0.19 8 Mar 2008 libssh2_userauth_keyboard_interactive_ex(3)