2020-03-07 20:19:22 +01:00
|
|
|
ssh
|
|
|
|
===
|
|
|
|
|
|
|
|
====== ==============
|
|
|
|
debian openssh-client
|
|
|
|
====== ==============
|
2017-12-05 20:01:33 +01:00
|
|
|
|
|
|
|
Configure
|
2019-08-25 11:19:55 +02:00
|
|
|
---------
|
2017-12-05 20:01:33 +01:00
|
|
|
|
|
|
|
* /etc/ssh/ssh_config
|
|
|
|
|
2018-05-11 21:34:48 +02:00
|
|
|
.. todo:: lines
|
2017-12-05 20:01:33 +01:00
|
|
|
|
|
|
|
Create key
|
2019-08-25 11:19:55 +02:00
|
|
|
----------
|
2017-12-05 20:01:33 +01:00
|
|
|
|
|
|
|
* ~/.ssh/id_rsa*
|
|
|
|
|
|
|
|
.. code:: shell
|
|
|
|
|
|
|
|
ssh-keygen -b 4096
|
2018-05-11 21:34:48 +02:00
|
|
|
|
|
|
|
.. todo:: other arguments
|
2020-03-07 20:21:11 +01:00
|
|
|
|
2024-03-04 20:03:41 +01:00
|
|
|
Public key
|
|
|
|
----------
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
ssh-keygen -y -f private_key
|
|
|
|
|
2020-03-07 20:21:11 +01:00
|
|
|
Tunnel
|
|
|
|
------
|
|
|
|
|
|
|
|
.. code:: shell
|
|
|
|
|
|
|
|
ssh -N -D local_port domain.tld
|