Lines Matching defs:ssh
70 #include "ssh.h"
659 "Denied establishing ssh session: mismatch md5 fingerprint. "
663 "Denied establishing ssh session: md5 fingerprint not available");
719 failf(data, "Failure establishing ssh session");
803 sshc->rsa_pub = aprintf("%s/.ssh/id_dsa.pub", home);
818 sshc->rsa = aprintf("%s/.ssh/id_dsa", home);
837 infof(data, "Using ssh public key file %s\n", sshc->rsa_pub);
838 infof(data, "Using ssh private key file %s\n", sshc->rsa);
925 /* Connect to the ssh-agent */
1046 * At this point we have an authenticated ssh session.
1675 err>= LIBSSH2_FX_OK?sftp_libssh2_strerror(err):"ssh error",
2338 /* get a fresh new channel from the ssh layer */
2719 struct SSHPROTO *ssh;
2721 conn->data->req.protop = ssh = calloc(1, sizeof(struct SSHPROTO));
2722 if(!ssh)
2740 struct ssh_conn *ssh;
2760 ssh = &conn->proto.sshc;
2772 ssh->ssh_session = libssh2_session_init_ex(my_libssh2_malloc,
2775 if(ssh->ssh_session == NULL) {
2776 failf(data, "Failure initialising ssh session");
2783 ssh->kh = libssh2_knownhost_init(ssh->ssh_session);
2784 if(!ssh->kh) {
2790 rc = libssh2_knownhost_readfile(ssh->kh,
2800 libssh2_trace(ssh->ssh_session, ~0);
2898 struct ssh_conn *ssh = &conn->proto.sshc;
2903 if(ssh->ssh_session) {