/external/lldb/test/pexpect-2.4/examples/ |
ssh_session.py | 30 self.f = open('ssh.out','w') 76 def ssh(self, command): member in class:ssh_session 78 return self.__exec("ssh -l %s %s \"%s\"" \ 89 seen = self.ssh("/bin/ls -ld %s" % file)
|
/external/openssh/ |
dispatch.c | 44 struct ssh *ssh = active_state; /* XXX */ local 50 if ((r = sshpkt_start(ssh, SSH2_MSG_UNIMPLEMENTED)) != 0 || 51 (r = sshpkt_put_u32(ssh, seq)) != 0 || 52 (r = sshpkt_send(ssh)) != 0 || 53 (r = ssh_packet_write_wait(ssh)) != 0) 54 sshpkt_fatal(ssh, __func__, r); 59 dispatch_protocol_ignore(int type, u_int32_t seq, void *ssh) 66 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt [all...] |
kexc25519c.c | 50 kexc25519_client(struct ssh *ssh) 52 struct kex *kex = ssh->kex; 60 if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_ECDH_INIT)) != 0 || 61 (r = sshpkt_put_string(ssh, kex->c25519_client_pubkey, 63 (r = sshpkt_send(ssh)) != 0) 67 ssh_dispatch_set(ssh, SSH2_MSG_KEX_ECDH_REPLY, &input_kex_c25519_reply); 74 struct ssh *ssh = ctxt; local 75 struct kex *kex = ssh->kex [all...] |
kexc25519s.c | 46 kexc25519_server(struct ssh *ssh) 49 ssh_dispatch_set(ssh, SSH2_MSG_KEX_ECDH_INIT, &input_kex_c25519_init); 56 struct ssh *ssh = ctxt; local 57 struct kex *kex = ssh->kex; 79 kex->hostkey_nid, ssh); 81 kex->hostkey_nid, ssh); 87 if ((r = sshpkt_get_string(ssh, &client_pubkey, &pklen)) != 0 || 88 (r = sshpkt_get_end(ssh)) != 0 [all...] |
kexdhc.c | 55 kexdh_client(struct ssh *ssh) 57 struct kex *kex = ssh->kex; 78 (r = sshpkt_start(ssh, SSH2_MSG_KEXDH_INIT)) != 0 || 79 (r = sshpkt_put_bignum2(ssh, kex->dh->pub_key)) != 0 || 80 (r = sshpkt_send(ssh)) != 0) 89 ssh_dispatch_set(ssh, SSH2_MSG_KEXDH_REPLY, &input_kex_dh); 98 struct ssh *ssh = ctxt; local 99 struct kex *kex = ssh->kex [all...] |
kexdhs.c | 55 kexdh_server(struct ssh *ssh) 57 struct kex *kex = ssh->kex; 80 ssh_dispatch_set(ssh, SSH2_MSG_KEXDH_INIT, &input_kex_dh_init); 89 struct ssh *ssh = ctxt; local 90 struct kex *kex = ssh->kex; 105 kex->hostkey_nid, ssh); 107 kex->hostkey_nid, ssh); 118 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 | [all...] |
kexecdhc.c | 55 kexecdh_client(struct ssh *ssh) 57 struct kex *kex = ssh->kex; 74 if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_ECDH_INIT)) != 0 || 75 (r = sshpkt_put_ec(ssh, public_key, group)) != 0 || 76 (r = sshpkt_send(ssh)) != 0) 89 ssh_dispatch_set(ssh, SSH2_MSG_KEX_ECDH_REPLY, &input_kex_ecdh_reply); 100 struct ssh *ssh = ctxt; local 101 struct kex *kex = ssh->kex [all...] |
kexecdhs.c | 53 kexecdh_server(struct ssh *ssh) 56 ssh_dispatch_set(ssh, SSH2_MSG_KEX_ECDH_INIT, &input_kex_ecdh_init); 63 struct ssh *ssh = ctxt; local 64 struct kex *kex = ssh->kex; 99 kex->hostkey_nid, ssh); 101 kex->hostkey_nid, ssh); 110 if ((r = sshpkt_get_ec(ssh, client_public, group)) != 0 || 111 (r = sshpkt_get_end(ssh)) != 0 [all...] |
kexgexc.c | 57 kexgex_client(struct ssh *ssh) 59 struct kex *kex = ssh->kex; 68 if (ssh->compat & SSH_OLD_DHGEX) { 70 if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_DH_GEX_REQUEST_OLD)) 72 (r = sshpkt_put_u32(ssh, kex->nbits)) != 0 || 73 (r = sshpkt_send(ssh)) != 0) 78 if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_DH_GEX_REQUEST)) != 0 || 79 (r = sshpkt_put_u32(ssh, kex->min)) != 0 || 80 (r = sshpkt_put_u32(ssh, kex->nbits)) != 0 | 101 struct ssh *ssh = ctxt; local 155 struct ssh *ssh = ctxt; local [all...] |
kexgexs.c | 50 #include "ssh-gss.h" 61 kexgex_server(struct ssh *ssh) 63 ssh_dispatch_set(ssh, SSH2_MSG_KEX_DH_GEX_REQUEST_OLD, 65 ssh_dispatch_set(ssh, SSH2_MSG_KEX_DH_GEX_REQUEST, 74 struct ssh *ssh = ctxt; local 75 struct kex *kex = ssh->kex; 82 if ((r = sshpkt_get_u32(ssh, &min)) != 0 || 83 (r = sshpkt_get_u32(ssh, &nbits)) != 0 | 148 struct ssh *ssh = ctxt; local [all...] |
packet.h | 13 * called by a name other than "ssh" or "Secure Shell". 52 struct ssh { struct 79 struct ssh *ssh_alloc_session_state(void); 80 struct ssh *ssh_packet_set_connection(struct ssh *, int, int); 81 void ssh_packet_set_timeout(struct ssh *, int, int); 82 int ssh_packet_stop_discard(struct ssh *); 83 int ssh_packet_connection_af(struct ssh *); 84 void ssh_packet_set_nonblocking(struct ssh *); 85 int ssh_packet_get_connection_in(struct ssh *); [all...] |
ssh_api.c | 36 int _ssh_exchange_banner(struct ssh *); 37 int _ssh_send_banner(struct ssh *, char **); 38 int _ssh_read_banner(struct ssh *, char **); 39 int _ssh_order_hostkeyalgs(struct ssh *); 40 int _ssh_verify_host_key(struct sshkey *, struct ssh *); 41 struct sshkey *_ssh_host_public_key(int, int, struct ssh *); 42 struct sshkey *_ssh_host_private_key(int, int, struct ssh *); 75 ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) 78 struct ssh *ssh; local [all...] |
monitor_wrap.c | 49 #include "ssh.h" 72 #include "ssh-gss.h" 479 struct ssh *ssh = active_state; /* XXX */ local 485 if ((r = ssh_packet_get_state(ssh, m)) != 0)
|
kex.c | 68 static int kex_choose_conf(struct ssh *); 247 kex_reset_dispatch(struct ssh *ssh) 249 ssh_dispatch_range(ssh, SSH2_MSG_TRANSPORT_MIN, 251 ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, &kex_input_kexinit); 255 kex_send_newkeys(struct ssh *ssh) 259 kex_reset_dispatch(ssh); 260 if ((r = sshpkt_start(ssh, SSH2_MSG_NEWKEYS)) != 0 || 261 (r = sshpkt_send(ssh)) != 0 272 struct ssh *ssh = ctxt; local 322 struct ssh *ssh = ctxt; local [all...] |
serverloop.c | 12 * called by a name other than "ssh" or "Secure Shell". 1156 struct ssh *ssh = active_state; /* XXX */ local 1168 while (ssh_packet_remaining(ssh) > 0) { 1171 if ((r = sshpkt_get_string_direct(ssh, &blob, &blen)) != 0 || 1181 if ((ndx = ssh->kex->host_key_index(key, 1, ssh)) == -1) { [all...] |
clientloop.c | 12 * called by a name other than "ssh" or "Secure Shell". 92 #include "ssh.h" 936 logit("Not supported for SSH protocol version 1."); 1013 {"^Z", "suspend ssh", SUPPRESS_MUXCLIENT}, 1015 {"&", "background ssh (when waiting for connections to terminate)", 1130 "%c^Z [suspend ssh]\r\n", escape_char); 2242 struct ssh *ssh = active_state; \/* XXX *\/ local 2315 struct ssh *ssh = active_state; \/* XXX *\/ local [all...] |
monitor.c | 69 #include "ssh.h" 97 #include "ssh-gss.h" 373 "with SSH protocol 1"); 690 struct ssh *ssh = active_state; /* XXX */ local 724 if ((key = get_hostkey_public_by_index(keyid, ssh)) == NULL) 754 } else if ((key = get_hostkey_public_by_index(keyid, ssh)) != NULL && 1846 struct ssh *ssh = active_state; \/* XXX *\/ local 1932 struct ssh *ssh = active_state; \/* XXX *\/ local [all...] |
packet.c | 13 * called by a name other than "ssh" or "Secure Shell". 84 #include "ssh.h" 223 struct ssh * 226 struct ssh *ssh = NULL; local 229 if ((ssh = calloc(1, sizeof(*ssh))) == NULL || 237 TAILQ_INIT(&ssh->private_keys); 238 TAILQ_INIT(&ssh->public_keys); 250 ssh->state = state [all...] |
sshconnect2.c | 50 #include "ssh.h" 76 #include "ssh-gss.h" 95 verify_host_key_callback(Key *hostkey, struct ssh *ssh) 376 packet_put_cstring("ssh-userauth"); 402 authctxt.service = "ssh-connection"; /* service name */ 1043 "ssh-userauth" : 1577 struct ssh *ssh = active_state; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jsch.jar | |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
lpc_masking_model.c | 552 int sh_lo, sh_hi, sh, ssh, shMem; local [all...] |
/external/libvncserver/x11vnc/ |
connections.c | 2438 char *cmd, *ssh; local [all...] |
x11vnc.c | 860 char *q, *cmd, *ssh; local 890 if (getenv("SSH")) { 891 ssh = getenv("SSH"); 893 ssh = "ssh"; 897 len += strlen(ssh) + strlen(s) + 500; 909 sprintf(cmd, "%s -f -p %d -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, sport, rport, lport, s, sleep); 911 sprintf(cmd, "%s -f -R '%d:localhost:%d' '%s' 'sleep %d'", ssh, rport, lport, s, sleep); 914 if (no_external_cmds || !cmd_ok("ssh")) { [all...] |