45 lines
483 B
ReStructuredText
45 lines
483 B
ReStructuredText
ssh
|
|
===
|
|
|
|
====== ==============
|
|
debian openssh-client
|
|
====== ==============
|
|
|
|
Configure
|
|
---------
|
|
|
|
* /etc/ssh/ssh_config
|
|
|
|
.. todo:: lines
|
|
|
|
Create key
|
|
----------
|
|
|
|
* ~/.ssh/id_rsa*
|
|
|
|
.. code:: shell
|
|
|
|
ssh-keygen -b 4096
|
|
|
|
.. todo:: other arguments
|
|
|
|
DNS fingerprint
|
|
---------------
|
|
|
|
.. code-block:: shell
|
|
|
|
ssh-keygen -f public_key -r domain.tld
|
|
|
|
Public key
|
|
----------
|
|
|
|
.. code-block:: shell
|
|
|
|
ssh-keygen -y -f private_key
|
|
|
|
Tunnel
|
|
------
|
|
|
|
.. code:: shell
|
|
|
|
ssh -N -D local_port domain.tld
|