01-11-2013
Glad to see you are finally implementing such restrictions.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a need to allow only certain IP addresses to access a machine running solaris 9. I am not sure how this can be accomplished.
Thanks in advance for your help.
Patch (2 Replies)
Discussion started by: patch
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Could anyone please let me know, process to send an email from unix server ( SunOS 5.9). Also, explain the requirements should have.
Specify the location to register an email (abc@xyz.com) in unix?
Please help!! Thanks!! (0 Replies)
Discussion started by: praveenvi
0 Replies
3. Programming
Hi All
I have a structure pointer and setting that pointer as NULL. When i tried to access the elements in the structure i am getting the error message.
"Cannot access memory at address 0x8". This i tried in LINUX.
When the same program is tried thro UNIX (HP-UX), i am not getting the message... (8 Replies)
Discussion started by: rkraj
8 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I've set on /etc/profile:
TMOUT=3600
readonly TMOUT
It seems to work when I connect using ssh client, putty for example, but not when connect through sftp. What am I missing on sshd configuration?
regards
Israel. (2 Replies)
Discussion started by: iga3725
2 Replies
5. Linux
Hi All
i need to use RSH ( i can hear you all banging your head against a wall ) but i want to block a certain IP address from access my machine via RSH, is there way to do this
thanks
A (3 Replies)
Discussion started by: ab52
3 Replies
6. Cybersecurity
HI,
I'm doing a research on client/server connection. I need to run the server code to open socket connection with the client code. To make the test real, I need to run the server code from a a machine far away from the client over the Internet. IN ORDER TO RUN THE CODE, the client has to know the... (3 Replies)
Discussion started by: ENG_MOHD
3 Replies
7. Solaris
We want to disable graphical logins on our Solaris 10(64bit sparc )boxes, but I haven't found any information on how to do it via google. Most likely I am using the wrong search terms (i've been looking for "xdmcp" and "x11" "disable") .
While looking through the output of "svcs -a | grep... (3 Replies)
Discussion started by: the.gooch
3 Replies
8. What is on Your Mind?
Hello Everyone,
We plan to restrict all RSS news feed access soon based on IP address. This means that if you have a website or application that using our site RSS feeds, you can still do it; but your must register you site in this thread.
So please reply with your IP address of your server... (7 Replies)
Discussion started by: Neo
7 Replies
LEARN ABOUT CENTOS
libssh2_session_init_ex
libssh2_session_init_ex(3) libssh2 manual libssh2_session_init_ex(3)
NAME
libssh2_session_init_ex - initializes an SSH session object
SYNOPSIS
#include <libssh2.h>
LIBSSH2_SESSION * libssh2_session_init_ex(LIBSSH2_ALLOC_FUNC((*myalloc)), LIBSSH2_FREE_FUNC((*myfree)), LIBSSH2_REALLOC_FUNC((*myrealloc)),
void *abstract);
LIBSSH2_SESSION * libssh2_session_init(void);
DESCRIPTION
myalloc - Custom allocator function. Refer to the section on Callbacks for implementing an allocator callback. Pass a value of NULL to use
the default system allocator.
myfree - Custom de-allocator function. Refer to the section on Callbacks for implementing a deallocator callback. Pass a value of NULL to
use the default system deallocator.
myrealloc - Custom re-allocator function. Refer to the section on Callbacks for implementing a reallocator callback. Pass a value of NULL
to use the default system reallocator.
abstract - Arbitrary pointer to application specific callback data. This value will be passed to any callback function associated with the
named session instance.
Initializes an SSH session object. By default system memory allocators (malloc(), free(), realloc()) will be used for any dynamically allo-
cated memory blocks. Alternate memory allocation functions may be specified using the extended version of this API call, and/or optional
application specific data may be attached to the session object.
This method must be called first, prior to configuring session options or starting up an SSH session with a remote server.
RETURN VALUE
Pointer to a newly allocated LIBSSH2_SESSION instance, or NULL on errors.
SEE ALSO
libssh2_session_free(3) libssh2_session_handshake(3)
libssh2 0.15 1 Jun 2007 libssh2_session_init_ex(3)