This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_ssh [2022/03/04 10:33] val [Настройка ssh клиента] |
сервис_ssh [2022/10/26 13:31] val [Windows] |
||
---|---|---|---|
Line 13: | Line 13: | ||
* [[http://www.putty.org/|PuTTY]] | * [[http://www.putty.org/|PuTTY]] | ||
* [[https://the.earth.li/~sgtatham/putty/latest/w64/]] | * [[https://the.earth.li/~sgtatham/putty/latest/w64/]] | ||
+ | * [[http://val.bmstu.ru/unix/SSH/putty-64bit-0.76-installer.msi]] | ||
<code> | <code> | ||
Line 57: | Line 58: | ||
<code> | <code> | ||
+ | $ sftp -P 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user3@localhost | ||
+ | |||
$ mkdir .ssh/ | $ mkdir .ssh/ | ||
Line 243: | Line 246: | ||
=== Настройка sshd на использование ключей === | === Настройка sshd на использование ключей === | ||
<code> | <code> | ||
- | gate# cat /etc/ssh/sshd_config | + | gate# less /etc/ssh/sshd_config |
</code><code> | </code><code> | ||
... | ... | ||
- | PubkeyAuthentication yes | + | #PubkeyAuthentication yes |
#AuthorizedKeysFile %h/.ssh/authorized_keys | #AuthorizedKeysFile %h/.ssh/authorized_keys | ||
... | ... | ||
Line 413: | Line 416: | ||
=== Настройка unix клиента ssh на использование GSSAPI === | === Настройка unix клиента ssh на использование GSSAPI === | ||
<code> | <code> | ||
- | client1# cat /etc/ssh/ssh_config | + | client1# less /etc/ssh/ssh_config |
</code><code> | </code><code> | ||
... | ... |