05-29-2015
Thank you Electrofryed for the info on two more distressing. Need to check them out.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I'm have old toshiba laptop(t1900) 486, 4mbRAM and ~120MB of hdd
I'm looking for distro to suite my comp, no need for X windows but not enything that runs on FAT, just normal small Linux.
Actually, *BSDs will do as well. If u know any distro that would do this I will be thankful for hint
... (4 Replies)
Discussion started by: wolk
4 Replies
2. What is on Your Mind?
Hello,
I am planning to revise the RSS News subforum areas, here:
News, Links, Events and Announcements - The UNIX Forums
... maybe with a subforum for each OS specific news, like HP-UX, Solaris, RedHat, OSX, etc. RSS subforums....
Please post your favorite OS specific RSS (RSS2) link... (0 Replies)
Discussion started by: Neo
0 Replies
3. UNIX for Dummies Questions & Answers
want to know which Linux distro is 4 me. want 2 teach my self programing and problem solving. i want to learn code and write code. i have an acer aspire one 2GB memory 160 GB HDD intel Atom. look im as noobie as it gets im a MS xp, vista boy want to go beyond graphical click and do... any help... (1 Reply)
Discussion started by: BizilStank
1 Replies
4. What is on Your Mind?
I am curious about the most popular ssh client on Windows environment. Talking about me, I use PuTTY most of the time coupled with WinSCP to transfer files. But, I like Tera Term too. It has great drag-drop feature where you can drag a file/folder and drop on the window and it will transfer the... (14 Replies)
Discussion started by: admin_xor
14 Replies
5. What is on Your Mind?
I can bet everyone has their one favorite book even though we have had read many books on UNIX or Linux. My all time favorite is "Unix Power Tools". This book always made me geeky and I loved the little tricks/tips in the book. I still do!
The next favorite would be "Prentice Hall Unix and Linux... (0 Replies)
Discussion started by: admin_xor
0 Replies
6. Linux
Hello,
I have a Compaq Presario v3000 5 year old laptop, with 1 GB RAM and currently running the (slow and stupid) Windows 7 32 bit, thus I would like to dual boot it with an appropriate distro of Linux that
1) Doesnt consume too much resources (1 GB RAM is not a lot of space) and it ll be... (4 Replies)
Discussion started by: ajayram
4 Replies
7. Linux
I'm looking for a new file/directory synchronizer.
I've been using unison because it works on both windows and linux.
However, it often chokes on the very long directory paths and file names I encounter when backing up eclipse and eclipse workspace directories. I suppose one could argue that I... (2 Replies)
Discussion started by: siegfried
2 Replies
8. What is on Your Mind?
Video: What is Your Favorite Linux Distro? UNIX.com and Primis
https://youtu.be/doa9sA6q9Uw
With so many great flavors of Linux to choose from, we asked our UNIX.com members what is their favorite Linux distro and why.
Here are the results:
What is your favorite Linux distro?
... (0 Replies)
Discussion started by: Neo
0 Replies
9. What is on Your Mind?
We have asked UNIX.com users over the years what is their favorite editor and why. Here is the top three answers.
Here is a new YT video on this question:
What Editor Does Everyone Use?
https://youtu.be/gqE8RTZZt9g
Of course, vi was the overwhelming favorite.
Credits:
1080 HD... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT CENTOS
libssh2_knownhost_checkp
libssh2_knownhost_check(3) libssh2 manual libssh2_knownhost_check(3)
NAME
libssh2_knownhost_checkp - check a host+key against the list of known hosts
SYNOPSIS
#include <libssh2.h>
int libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts,
const char *host, int port,
const char *key, size_t keylen,
int typemask,
struct libssh2_knownhost **knownhost);
DESCRIPTION
Checks a host and its associated key against the collection of known hosts, and returns info back about the (partially) matched entry.
host is a pointer the host name in plain text. The host name can be the IP numerical address of the host or the full name.
port is the port number used by the host (or a negative number to check the generic host). If the port number is given, libssh2 will check
the key for the specific host + port number combination in addition to the plain host name only check.
key is a pointer to the key for the given host.
keylen is the total size in bytes of the key pointed to by the key argument
typemask is a bitmask that specifies format and info about the data passed to this function. Specificly, it details what format the host
name is, what format the key is and what key type it is.
The host name is given as one of the following types: LIBSSH2_KNOWNHOST_TYPE_PLAIN or LIBSSH2_KNOWNHOST_TYPE_CUSTOM.
The key is encoded using one of the following encodings: LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64.
knownhost if set to non-NULL, it must be a pointer to a 'struct libssh2_knownhost' pointer that gets filled in to point to info about a
known host that matches or partially matches.
RETURN VALUE
libssh2_knownhost_check(3) returns info about how well the provided host + key pair matched one of the entries in the list of known hosts.
LIBSSH2_KNOWNHOST_CHECK_FAILURE - something prevented the check to be made
LIBSSH2_KNOWNHOST_CHECK_NOTFOUND - no host match was found
LIBSSH2_KNOWNHOST_CHECK_MATCH - hosts and keys match.
LIBSSH2_KNOWNHOST_CHECK_MISMATCH - host was found, but the keys didn't match!
AVAILABILITY
Added in libssh2 1.2.6
EXAMPLE
See the ssh2_exec.c example as provided in the tarball.
SEE ALSO
libssh2_knownhost_init(3) libssh2_knownhost_free(3) libssh2_knownhost_add(3)
libssh2 1.2.6 1 May 2010 libssh2_knownhost_check(3)