Home
last modified time | relevance | path

Searched full:ssh (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/external/autotest/server/hosts/
Dcros_repair_unittest.py21 (repair_utils.SshVerifier, 'ssh', ('ping', )),
23 (cros_repair.DevDefaultBootVerifier, 'dev_default_boot', ('ssh', )),
24 (cros_repair.DevModeVerifier, 'devmode', ('ssh', )),
25 (cros_repair.EnrollmentStateVerifier, 'enrollment_state', ('ssh', )),
26 (cros_repair.HWIDVerifier, 'hwid', ('ssh', )),
27 (cros_repair.ACPowerVerifier, 'power', ('ssh', )),
28 (cros_repair.EXT4fsErrorVerifier, 'ext4', ('ssh', )),
29 (cros_repair.WritableVerifier, 'writable', ('ssh', )),
30 (cros_repair.TPMStatusVerifier, 'tpm', ('ssh', )),
31 (cros_repair.UpdateSuccessVerifier, 'good_provision', ('ssh', )),
[all …]
Dssh_multiplex.py22 '/usr/bin/ssh -a -x -N '
37 """Manages multiplex ssh connection."""
58 """Returns the ssh option to use this multiplexed ssh.
67 """Starts the background process to run multiplex ssh connection.
73 @param timeout: timeout in seconds (default 5) to wait for main ssh
79 # ssh connection and create a new one, therefore use a lock to protect
82 # If a previously started main SSH connection is not running
87 'Main-ssh connection to %s is down.', self._hostname)
90 # Start a new main SSH connection.
95 # Start the main SSH connection in the background.
[all …]
Dssh_host.py11 SSHHost: a remote machine with a ssh access
46 This class represents a remote machine controlled through an ssh
57 serial console available then ordinary SSH-based commands will
82 Construct an ssh command with proper args for this host.
85 @param options: SSH options
86 @param alive_interval: SSH Alive interval.
87 @param alive_count_max: SSH AliveCountMax.
88 @param connection_attempts: SSH ConnectionAttempts
116 Prepend the command for the client with information about the ssh
119 @param command: the ssh command to be executed.
[all …]
Dattached_device_host.py42 phone_station_ssh_port: port for ssh to phone station, it
53 # port forwarding to bypass corp ssh relay. So the hostname may
75 'Attached device host %s is not reachable via ssh.' %
105 - ConnectTimeout=30; maximum of 30 seconds allowed for an SSH
108 - ServerAliveInterval=180; which causes SSH to ping connection every
119 - SSH protocol forced to 2; needed for ServerAliveInterval.
122 user: User name to use for the ssh connection.
123 port: Port on the target host to use for ssh connection.
124 opts: Additional options to the ssh command.
132 An ssh command with the requested settings.
[all …]
Dabstract_ssh.py59 # and a single ssh ping in wait_up().
69 framework necessary for controlling a host via ssh. It implements
74 # Timeout for main ssh connection setup, in seconds.
92 @param user: The username to use when ssh'ing into the host.
93 @param password: The password to use when ssh'ing into the host.
94 @param port: The port to use for ssh.
101 the main ssh connection across control scripts.
130 Main SSH connection background job, socket temp directory and socket
131 control path option. If main-SSH is enabled, these fields will be
132 initialized by start_main_ssh when a new SSH connection is initiated.
[all …]
/external/libwebsockets/READMEs/
DREADME.plugin-sshd-base.md1 ssh-base Plugin
6 lws-ssh-base is a protcol plugin for libwebsockets that implements a
7 generic, abstract, ssh server.
20 - The plugin has no built-in behaviours like check ~/.ssh/authorized_keys,
28 handlers. So it's role is something like an abstract base class for an ssh
44 |Server host key|ssh-rsa (4096b)|
50 lws-ssh-base is Free Software, available under libwebsockets' MIT license.
58 $ ssh-keygen -t rsa -b 4096 -f mykeys
63 with ssh, you can just use that directly.
71 spawns a bash shell when an ssh client authenticates. The username used on
[all …]
/external/ltp/testcases/network/stress/ssh/
Dssh-stress.sh14 TST_NEEDS_CMDS="sshd ssh ssh-keygen od pkill pgrep"
17 # SSH config file on the remote host
19 # SSH command to connect from the remote host to the test host
30 # Stop the ssh daemon
36 # Kill all remaining ssh processes
37 [ -n "$RHOST_SSH_CONF" ] && tst_rhost_run -c "pkill -f '^ssh $RHOST_SSH_CONF'"
63 ssh-keygen -q -N "" -t rsa -b 4096 -f $TST_TMPDIR/ssh_host_rsa_key
64 ssh-keygen -q -N "" -t ecdsa -f $TST_TMPDIR/ssh_host_ecdsa_key
65 ssh-keygen -q -N "" -t ed25519 -f $TST_TMPDIR/ssh_host_ed25519_key
68 tst_rhost_run -s -c "ssh-keygen -t rsa -N \"\" -f $TST_TMPDIR/id_rsa \
[all …]
/external/autotest/server/cros/network/rf_switch/
Drf_switch_ssh_tunnel.py5 """Interface to RF Switch over SSH tunnel.
8 a firewall and can be accessed through a SSH tunnel. Please make sure you
9 can login to SSH Tunnel machine without a password by configuring the ssh
18 | Test +-----| -------+ SSH +------+ RF |
38 """RF Switch handler over ssh tunnel."""
50 @param proxy_host: Hostname or IP address of SSH tunnel device
51 @param proxy_username: Username for SSH tunnel device
53 @param proxy_port: port number to bind for SSH tunnel
77 """Start a RF Switch with ssh tunnel session and close it when done.
82 @param proxy_host: Hostname or IP address of SSH tunnel device
[all …]
Dscpi_ssh_tunnel.py5 """Interface for SCPI Protocol through a SSH tunnel.
8 a firewall and can be accessed through a SSH tunnel. Please make sure you
9 can login to SSH Tunnel machine without a password by configuring the ssh
18 | Test +-----| -------+ SSH +------+ SCPI |
44 """Class for SCPI protocol though SSH tunnel."""
57 @param proxy_host: Hostname or IP address of SSH tunnel device
58 @param proxy_username: Username for SSH tunnel device
60 @param proxy_port: port number to bind for SSH tunnel. If
73 # Start SSH tunnel
81 'Started ssh tunnel, local = %d, remote = %d, pid = %d',
[all …]
/external/selinux/scripts/ci/
Dtravis-kvm-setup.sh40 # Set up a key so we can ssh into the VM
41 ssh-keygen -N "" -f "$HOME/.ssh/id_rsa"
65 # - Force a relabel to fix labels on ssh keys
70 --append-line '/etc/ssh/sshd_config:PermitRootLogin yes' \
71 --append-line '/etc/ssh/sshd_config:PubkeyAuthentication yes' \
72 --mkdir /root/.ssh \
73 --upload "$HOME/.ssh/id_rsa.pub:/root/.ssh/authorized_keys" \
74 --chmod '0600:/root/.ssh/authorized_keys' \
75 --run-command 'chown root:root /root/.ssh/authorized_keys' \
82 # It should be ready to go for ssh, once ssh starts.
[all …]
/external/python/google-api-python-client/docs/dyn/
Doslogin_v1.users.sshPublicKeys.html82 <p class="firstline">Create an SSH public key</p>
85 <p class="firstline">Deletes an SSH public key.</p>
88 <p class="firstline">Retrieves an SSH public key.</p>
91 <p class="firstline">Updates an SSH public key and returns the profile information. This method sup…
100 <pre>Create an SSH public key
107 { # The SSH public key information associated with a Google account.
109 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
110 …&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section…
122 { # The SSH public key information associated with a Google account.
124 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
[all …]
Doslogin_v1alpha.users.sshPublicKeys.html82 <p class="firstline">Create an SSH public key</p>
85 <p class="firstline">Deletes an SSH public key.</p>
88 <p class="firstline">Retrieves an SSH public key.</p>
91 <p class="firstline">Updates an SSH public key and returns the profile information. This method sup…
100 <pre>Create an SSH public key
107 { # The SSH public key information associated with a Google account.
109 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
110 …&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section…
122 { # The SSH public key information associated with a Google account.
124 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
[all …]
Doslogin_v1beta.users.sshPublicKeys.html82 <p class="firstline">Create an SSH public key</p>
85 <p class="firstline">Deletes an SSH public key.</p>
88 <p class="firstline">Retrieves an SSH public key.</p>
91 <p class="firstline">Updates an SSH public key and returns the profile information. This method sup…
100 <pre>Create an SSH public key
107 { # The SSH public key information associated with a Google account.
109 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
110 …&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section…
122 { # The SSH public key information associated with a Google account.
124 …&quot;fingerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH p…
[all …]
Dbaremetalsolution_v1alpha1.projects.sshKeys.html82 <p class="firstline">Create a new SSH key registration in the specified project.</p>
85 <p class="firstline">Delete an SSH key registration in the specified project.</p>
88 <p class="firstline">List the public SSH keys registered for the specified project.</p>
100 <pre>Create a new SSH key registration in the specified project.
103 parent: string, Required. The parent project containing the SSH keys. (required)
107 { # A public SSH key registered in the project. Used primarily for the interactive serial console f…
108 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this SSH key.
109 &quot;publicKey&quot;: &quot;A String&quot;, # The public SSH key.
121 …{ # A public SSH key registered in the project. Used primarily for the interactive serial console …
122 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this SSH key.
[all …]
Doslogin_v1beta.users.html95 <p class="firstline">Adds an SSH public key and returns the profile information. Default POSIX acco…
113 BASIC - Includes POSIX and SSH key information.
142 … &quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
143 …&quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253]…
152 &quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
153 &quot;a_key&quot;: { # The SSH public key information associated with a Google account.
155 …gerprint&quot;: &quot;A String&quot;, # Output only. The SHA-256 fingerprint of the SSH public key.
156 …&quot;key&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by RFC4253 section…
165 …<pre>Adds an SSH public key and returns the profile information. Default POSIX account information…
172 { # The SSH public key information associated with a Google account.
[all …]
/external/python/cpython3/Tools/buildbot/
DremoteDeploy.bat18 ssh %SSH_SERVER% echo Make sure we can find SSH and SSH_SERVER variable is valid
19 if %ERRORLEVEL% NEQ 0 (echo SSH does not work) & exit /b %ERRORLEVEL%
28 ssh %SSH_SERVER% "kill python.exe"
29 ssh %SSH_SERVER% "kill python_d.exe"
30 ssh %SSH_SERVER% "if EXIST %REMOTE_PYTHON_DIR% (rd %REMOTE_PYTHON_DIR% /s/q)"
33 ssh %SSH_SERVER% "md %REMOTE_PYTHON_DIR%PCBuild\arm32"
34 ssh %SSH_SERVER% "md %REMOTE_PYTHON_DIR%temp"
35 ssh %SSH_SERVER% "md %REMOTE_PYTHON_DIR%Modules"
36 ssh %SSH_SERVER% "md %REMOTE_PYTHON_DIR%PC"
57 echo The test worker should have the SSH agent running.
[all …]
/external/cldr/tools/scripts/ansible/
DREADME.md23 - Make sure you can `ssh` into all of the needed systems. For example,
24 `ssh cldr-ref.unicode.org` should succeed without needing a password.
57 ssh-keygen -t rsa -b 4096 -f ./local-vars/surveytool -P '' -C 'surveytool deploy'
73 run `ssh-keyscan smoketest.example.com` where _smoketest.example.com_
75 secret. One of these lines should match `~/.ssh/known_hosts` on your
76 own system when you ssh into smoketest.
77 Try `grep -i smoke ~/.ssh/known_hosts`
84 …herwise, create new ones with `ssh-keygen -t rsa` and copy the public key to corp.unicode.org with…
115 key: ssh-rsa …  ( SSH key goes here)
126 ssh-keygen -t rsa -b 2048 -C 'CLDR Commit Checker' -f local-vars/cldrcc/id_rsa
[all …]
Dbackup-db-playbook.yml28 - name: set up /home/cldrbackup/.ssh/
30 path: /home/cldrbackup/.ssh/
35 - name: set up /home/cldrbackup/.ssh/config
38 dest: /home/cldrbackup/.ssh/config
42 - name: set up /home/cldrbackup/.ssh/id_rsa
46 dest: /home/cldrbackup/.ssh/id_rsa
50 - name: set up /home/cldrbackup/.ssh/id_rsa.pub
53 dest: /home/cldrbackup/.ssh/id_rsa.pub
57 - name: set up /home/cldrbackup/.ssh/known_hosts
60 dest: /home/cldrbackup/.ssh/known_hosts
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dcontrol91 4. Setup ssh correctly.
92 You will need to setup a number of ssh keys and then copy them to
93 your chroot so that you can ssh into a devserver from there.
95 Run ssh-keygen to generate your id_rsa and id_rsa.pub files into ~/.ssh/
97 Download the testing_rsa ssh keys from here:
99 Save both to ~/.ssh
100 chmod 600 ~/.ssh/testing_rsa* (otherwise permissions are too loose and
103 Add these lines to your ~/.ssh/config
106 IdentityFile /usr/local/google/home/<your ldap here>/.ssh/testing_rsa
108 You should now be able to ssh into DUTs in the lab without a password.
[all …]
/external/libnfnetlink/src/
Dlibnfnetlink.c343 struct nfnl_subsys_handle *ssh; in nfnl_subsys_open2() local
353 ssh = &nfnlh->subsys[subsys_id]; in nfnl_subsys_open2()
354 if (ssh->cb) { in nfnl_subsys_open2()
359 ssh->cb = calloc(cb_count, sizeof(*(ssh->cb))); in nfnl_subsys_open2()
360 if (!ssh->cb) in nfnl_subsys_open2()
363 ssh->nfnlh = nfnlh; in nfnl_subsys_open2()
364 ssh->cb_count = cb_count; in nfnl_subsys_open2()
365 ssh->subscriptions = subscriptions; in nfnl_subsys_open2()
366 ssh->subsys_id = subsys_id; in nfnl_subsys_open2()
375 free(ssh->cb); in nfnl_subsys_open2()
[all …]
/external/autotest/site_utils/lxc/
Dconfig.py17 "source": "ssh",
18 "target": "/root/.ssh",
49 2. Copy all files in ssh to /root/.ssh in container.
82 the module still supports copy over files like ssh config and autotest
215 # 2. Set ssh logleve to ERROR for all hosts.
292 1. Disable main ssh connection in shadow config, as it is not working
306 # container does not support main ssh connection yet.
343 """Modify ssh config for it to work inside container.
347 Therefore, the source of ssh config must be properly updated to be able
352 ssh_config = '/root/.ssh/config'
[all …]
/external/libwebsockets/plugins/
DCMakeLists.txt196 create_plugin(protocol_lws_ssh_base "ssh-base/include"
197ssh-base/sshd.c;ssh-base/telnet.c;ssh-base/kex-25519.c" "ssh-base/crypto/chacha.c;ssh-base/crypto/…
202 create_plugin(protocol_lws_sshd_demo "ssh-base/include" "protocol_lws_sshd_demo.c" "" "")
207 include_directories("${PROJECT_SOURCE_DIR}/plugins/ssh-base/include")
/external/curl/tests/
Dsshhelp.pm115 $sshdexe = 'sshd' .exe_ext('SSH'); # base name and ext of ssh daemon
116 $sshexe = 'ssh' .exe_ext('SSH'); # base name and ext of ssh client
117 $sftpsrvexe = 'sftp-server' .exe_ext('SSH'); # base name and ext of sftp-server
118 $sftpexe = 'sftp' .exe_ext('SSH'); # base name and ext of sftp client
119 $sshkeygenexe = 'ssh-keygen' .exe_ext('SSH'); # base name and ext of ssh-keygen
120 $httptlssrvexe = 'gnutls-serv' .exe_ext('SSH'); # base name and ext of gnutls-serv
121 $sshdconfig = 'curl_sshd_config'; # ssh daemon config file
122 $sshconfig = 'curl_ssh_config'; # ssh client config file
124 $sshdlog = undef; # ssh daemon log file
125 $sshlog = undef; # ssh client log file
[all …]
/external/skia/infra/bots/recipe_modules/flavor/
Dssh.py11 """SSH flavor, used for running code on a remote device via SSH.
33 def ssh(self, title, *cmd, **kwargs): member in SSHFlavor
37 ssh_cmd = ['ssh', '-oConnectTimeout=15', '-oBatchMode=yes',
43 self.ssh('mkdir %s' % path, 'mkdir', '-p', path)
52 self.ssh('make %s executable' % self.app_name, 'chmod', '+x', device_path)
56 self.ssh('rm %s' % path, 'rm', '-rf', path)
60 rv = self.ssh('read %s' % path,
67 self.ssh('rm %s' % path, 'rm', '-f', path)
86 self.ssh(str(name), *cmd)
/external/autotest/utils/frozen_chromite/lib/
Dremote_access.py53 # Ssh returns status 255 when it encounters errors in its own code. Otherwise
55 # possibly 255. Here we assume that 255 indicates only ssh errors. This may
59 # SSH default known_hosts filepath.
60 KNOWN_HOSTS_PATH = os.path.expanduser('~/.ssh/known_hosts')
71 """Raised when SSH connection has failed."""
80 # indicates why SSH failed so this might be the best we can do.
197 """Creates a list of SSH connection options.
202 a value so that the SSH default value will be used.
206 resulting arguments are passed into an SSH call.
212 A list of arguments to pass to SSH.
[all …]

12345678910>>...33