Home
last modified time | relevance | path

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

12

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/
H A DAgent.php4 * Pure-PHP ssh-agent client.
15 * $agent = new \phpseclib3\System\SSH\Agent();
17 * $ssh = new \phpseclib3\Net\SSH2('www.domain.tld');
18 * if (!$ssh->login('username', $agent)) {
22 * echo $ssh->exec('pwd');
23 * echo $ssh->exec('ls -la');
33 namespace phpseclib3\System\SSH;
41 use phpseclib3\System\SSH\Agent\Identity;
44 * Pure-PHP ssh-agent client identity factory
46 * requestIdentities() method pumps out \phpseclib3\System\SSH\Agent\Identity objects
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php4 * Pure-PHP ssh-agent client.
16 namespace phpseclib3\System\SSH\Agent;
25 use phpseclib3\System\SSH\Agent;
26 use phpseclib3\System\SSH\Common\Traits\ReadBytes;
29 * Pure-PHP ssh-agent client identity object
31 * Instantiation should only be performed by \phpseclib3\System\SSH\Agent class.
45 // See https://tools.ietf.org/html/draft-miller-ssh-agent-00#section-5.3
114 * Called by \phpseclib3\System\SSH\Agent::requestIdentities()
134 …* Called by \phpseclib3\System\SSH\Agent::requestIdentities(). The key blob could be extracted fro…
222 throw new UnsupportedAlgorithmException('ssh-agent can only create PKCS1 signatures');
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DPuTTY.php7 * it can still load them and convert them. PuTTY will load them, too, but SSH servers
8 * won't accept them. Since PuTTY formatted keys are primarily used with SSH this makes
44 protected static $types = ['ssh-dss'];
83 …throw new \InvalidArgumentException('SSH only supports keys with an N (length of Group Order q) of…
89 return self::wrapPrivateKey($public, $private, 'ssh-dss', $password, $options);
104 …throw new \InvalidArgumentException('SSH only supports keys with an N (length of Group Order q) of…
107 return self::wrapPublicKey(Strings::packSSH2('iiii', $p, $q, $g, $y), 'ssh-dss');
H A DOpenSSH.php8 * Place in $HOME/.ssh/authorized_keys
34 protected static $types = ['ssh-dss'];
78 …throw new \InvalidArgumentException('SSH only supports keys with an N (length of Group Order q) of…
82 // string "ssh-dss"
87 $DSAPublicKey = Strings::packSSH2('siiii', 'ssh-dss', $p, $q, $g, $y);
94 $DSAPublicKey = 'ssh-dss ' . base64_encode($DSAPublicKey) . ' ' . $comment;
114 $privateKey = Strings::packSSH2('si5', 'ssh-dss', $p, $q, $g, $y, $x);
H A DPKCS8.php14 * Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8
16 * for keys. This just extends that same concept to public keys (much like ssh-keygen)
H A DPKCS1.php16 * Analogous to ssh-keygen's pem format (as specified by -m)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DOpenSSH.php8 * Place in $HOME/.ssh/authorized_keys
43 'ssh-ed25519'
63 if ($type == 'ssh-ed25519') {
80 if ($parsed['type'] == 'ssh-ed25519') {
82 throw new \RuntimeException('Length of ssh-ed25519 key should be 32');
147 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey));
153 $key = 'ssh-ed25519 ' . base64_encode($key) . ' ' . $comment;
194 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey);
195 $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $secret . $pubKey);
H A DPuTTY.php47 'ssh-ed25519'
71 throw new \RuntimeException('Length of ssh-ed25519 key should be 32');
H A DPKCS8.php14 * Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8
16 * for keys. This just extends that same concept to public keys (much like ssh-keygen)
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DOpenSSH.php8 * Place in $HOME/.ssh/authorized_keys
34 protected static $types = ['ssh-rsa'];
100 $RSAPublicKey = Strings::packSSH2('sii', 'ssh-rsa', $e, $n);
107 $RSAPublicKey = 'ssh-rsa ' . base64_encode($RSAPublicKey) . ' ' . $comment;
128 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
H A DPuTTY.php39 protected static $types = ['ssh-rsa'];
107 return self::wrapPrivateKey($public, $private, 'ssh-rsa', $password, $options);
119 return self::wrapPublicKey(Strings::packSSH2('ii', $e, $n), 'ssh-rsa');
H A DPKCS8.php16 * Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8
18 * for keys. This just extends that same concept to public keys (much like ssh-keygen)
/dokuwiki/.github/workflows/
H A Drelease-build.yml96 - name: Setup SSH Key
97 uses: shimataro/ssh-key-action@v2
100 # generate with ssh-keyscan -H <server>
106ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd htdocs/src/dokuwiki/ && tar -xzvf dokuwiki…
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/
H A DSSH2.php45 if ($type != 'ssh-dss' || strlen($blob) != 40) {
69 'ssh-dss',
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DOpenSSH.php8 * Place in $HOME/.ssh/authorized_keys
57 * $type can be either ssh-dss or ssh-rsa
70 // https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.key?annotate=HEAD
154 * $HOME/.ssh/authorized_key.
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Common/Traits/
H A DReadBytes.php14 namespace phpseclib3\System\SSH\Common\Traits;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php13 * $ssh = new \phpseclib3\Net\SSH2('www.domain.tld');
14 * if (!$ssh->login('username', 'password')) {
18 * echo $ssh->exec('pwd');
19 * echo $ssh->exec('ls -la');
29 * $ssh = new \phpseclib3\Net\SSH2('www.domain.tld');
30 * if (!$ssh->login('username', $key)) {
34 * echo $ssh->read('username@username:~$');
35 * $ssh->write("ls -la\n");
36 * echo $ssh->read('username@username:~$');
74 use phpseclib3\System\SSH\Agent;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/
H A DFingerprint.php28 …* The public key's fingerprint is returned, which is equivalent to running `ssh-keygen -lf rsa.pub…
/dokuwiki/vendor/phpseclib/phpseclib/
H A Dcomposer.json16 "ssh",
H A DREADME.md15 SSH-2, SFTP, X.509, an arbitrary-precision integer arithmetic library, Ed25519 / Ed449 / Curve25519…
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dsshconfig.php10 * OpenSSH config file (~/.ssh/config) language file for GeSHi.
16 * hostnames/wildcards, but it's good enough for a basic ~/.ssh/config
H A Dbash.php297 'slogin', 'snice', 'sort', 'sox', 'split', 'ssed', 'ssh', 'ssh-add',
298 'ssh-agent', 'ssh-keygen', 'ssh-keyscan', 'sshfs', 'stat', 'strace',
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DTripleDES.php47 …* Inner chaining is used by SSH-1 and is generally considered to be less secure then outer chainin…
54 …* Outer chaining is used by SSH-2 and when the mode is set to \phpseclib3\Crypt\Common\BlockCipher…
351 …s not be used. They do offer better security and are, in fact, sometimes required (SSH uses them),
H A DDSA.php121 RFC 4253 (SSH Transport Layer Protocol) references FIPS 186-2 and as such most
122 SSH DSA implementations only support keys with an N of 160.
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php110 …return $shortFormat == 'SSH2' ? Strings::packSSH2('ss', 'ssh-' . strtolower($this->getCurve()), $r…
143 …return $shortFormat == 'SSH2' ? Strings::packSSH2('ss', 'ssh-' . strtolower($this->getCurve()), $R…

12