Hey,
Boy! I am having problem with loging on to linux box?? I am trying to log on to telnet cis.hfcc.net but it's not letting me...everytime I try it is saying that an error has occured??? Do I have to download something, or there is something wrong that I am not getting!!?;confused;
Tell... (2 Replies)
Folks,
I am loosing X configurations once I restart the linux box. Same is true with ftp and telnet services. Any clues ? I am trying RedHat 7.2, it sucks btw !! (3 Replies)
HI All,
I need a script to reboot a linux box from a windows box.
The script needs to run automatically whenever a sitescope alerts with an error message.
Have searched for this in the forums, but could not get something relative.
Pls. let me know the various alternatives we have to do... (2 Replies)
Hi,
I've installed Linux fedora 3 on my machine and I want to develop the VPN server on Linux. I've several machines which access the linux box as gateway for net and mail usage. The Webmin cp is installed on it. Now I want a external windows based machine connect to my internal windows server... (4 Replies)
Hi All.
New to Linux and can't see cdrom after inserting into drive on linux box
df -k doesn't show it.
Can anyone tell em how to access the cd?
Thanks (3 Replies)
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Hi
I have a linux box and need to access from windows graphically
# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux
What components do I need to install on Linux and windows to do that?
TIA (6 Replies)
Hi All,
Could any one please help me how to assign IP to a linux box permanently.
IP should not be changed even after Rebooting the machine.:b::b::b: (8 Replies)
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies
LEARN ABOUT CENTOS
libssh2_userauth_password_ex
libssh2_userauth_password_ex(3) libssh2 manual libssh2_userauth_password_ex(3)NAME
libssh2_userauth_password_ex - authenticate a session with username and password
SYNOPSIS
#include <libssh2.h>
int libssh2_userauth_password_ex(LIBSSH2_SESSION *session,
const char *username,
unsigned int username_len,
const char *password,
unsigned int password_len,
LIBSSH2_PASSWD_CHANGEREQ_FUNC((*passwd_change_cb)));
#define libssh2_userauth_password(session, username, password)
libssh2_userauth_password_ex((session), (username),
strlen(username),
(password), strlen(password), NULL)
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3)
username - Name of user to attempt plain password authentication for.
username_len - Length of username parameter.
password - Password to use for authenticating username.
password_len - Length of password parameter.
passwd_change_cb - If the host accepts authentication but requests that the password be changed, this callback will be issued. If no call-
back is defined, but server required password change, authentication will fail.
Attempt basic password authentication. Note that many SSH servers which appear to support ordinary password authentication actually have it
disabled and use Keyboard Interactive authentication (routed via PAM or another authentication backed) instead.
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
Some of the errors this function may return include:
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
LIBSSH2_ERROR_PASSWORD_EXPIRED -
IBSSH2_ERROR_AUTHENTICATION_FAILED - failed, invalid username/password or public/private key.
SEE ALSO libssh2_session_init_ex(3)libssh2 0.15 1 Jun 2007 libssh2_userauth_password_ex(3)