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 [2021/03/04 13:40] val [Аутентификация с использованием протокола GSSAPI] |
сервис_ssh [2021/04/17 11:02] val [Windows] |
||
---|---|---|---|
Line 10: | Line 10: | ||
==== Windows ==== | ==== Windows ==== | ||
+ | === Putty === | ||
* [[http://www.putty.org/|PuTTY]] | * [[http://www.putty.org/|PuTTY]] | ||
- | * [[http://val.bmstu.ru/unix/SSH/putty-settings.zip]] | + | * [[https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.74-installer.msi]] |
<code> | <code> | ||
Line 18: | Line 19: | ||
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys | HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys | ||
</code> | </code> | ||
+ | |||
+ | === WinSCP === | ||
* [[https://winscp.net/eng/docs/lang:ru|WinSCP]] | * [[https://winscp.net/eng/docs/lang:ru|WinSCP]] | ||
Line 348: | Line 351: | ||
C:\>pscp gatehost.keytab gate: | C:\>pscp gatehost.keytab gate: | ||
+ | </code> | ||
+ | |||
+ | == Samba4 == | ||
+ | <code> | ||
+ | server# samba-tool user create gatehost | ||
+ | |||
+ | server# samba-tool user setexpiry gatehost --noexpiry | ||
+ | |||
+ | server# samba-tool spn add host/gate.corpX.un gatehost | ||
+ | |||
+ | server# samba-tool spn list gatehost | ||
+ | |||
+ | server# samba-tool domain exportkeytab gatehost.keytab --principal=host/gate.corpX.un | ||
</code> | </code> | ||
Line 413: | Line 429: | ||
user1@client1$ ssh -vv gate.corpX.un | user1@client1$ ssh -vv gate.corpX.un | ||
+ | gate# service ssh stop | ||
+ | gate# mkdir /run/sshd | ||
gate# /usr/sbin/sshd -d | gate# /usr/sbin/sshd -d | ||
</code> | </code> |